You are not logged in.

#76 2011-01-25 14:11:04

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

sausageandeggs (on AUR) wrote:

@graysky Thanks a lot for the repo it is much appreciated. At the the risk of being cheeky though i would like to ask if its possible to get the 'generic' kernel to be built with 1000Hz enabled instead of 300Hz. Feel free to tell me to $%^£^%"!!
Again thanks for the work Graysky.

Setting 1000Hz as default is part of the patch, so I guess you could argue both ways in terms of "Vanilla package with ck patches".

CK FAQ wrote:

How do you recommend I use this?
It's designed so that you just patch it in and use it. You shouldn't need to
do anything at all. But since people still want to know every last thing...
THESE ARE OPTIONAL FOR LOWEST LATENCY. YOU DO NOT NEED THESE!
Configure your kernel with 1000Hz, preempt ON and disable dynamic ticks.
What about other Hz, no preempt and dynamic ticks?
The reason I recommend the above settings is these will have the best possible
latencies which is by far the most important feature of a scheduler on a
desktop.

No idea if it makes any difference, although Kolivas describes 300Hz/preempt on/dynticks on as a "suitable android phone setting".


/OT: sorry for the noise on the AUR package, I should read more carefully... second post somehow happened when I tried to delete the first one.

Offline

#77 2011-01-25 15:07:49

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:
Army wrote:

I can't build the modules for virtualbox with kernel26-ck.

Can you post the output of: pacman -Qq | grep kernel26-ck

% pacman -Qq | grep kernel26-ck
kernel26-ck

What exactly do you intend to read from that output?

Offline

#78 2011-01-25 20:34:22

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,614
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Army wrote:
% pacman -Qq | grep kernel26-ck
kernel26-ck

What exactly do you intend to read from that output?

It shows that you need the install the kernel26-ck-headers package in order to build modules smile

pacman -S kernel26-ck-headers

...then give it a try!

Last edited by graysky (2011-01-25 20:35:07)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#79 2011-01-25 22:43:12

1LordAnubis
Member
Registered: 2008-10-10
Posts: 250
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Thanks again graysky; although #offtopic, I wonder which build I should choose for a Centrino Duo (T2300)... what I've heard ranges between Prescott, Pentium 4, and Core 2


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#80 2011-01-25 22:50:41

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Well your Centrino Duo is based on the Yonah microprocessor which is before the Core 2 but after the Pentium 4 so I think "Prescott" would be ok. If not just use Pentium 4.

Offline

#81 2011-01-25 23:08:38

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,614
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@1LordAnubis - it depends on the cpu family AFAIK.  Post the output of the following command and I can narrow it down to for you:

cat /proc/cpuinfo

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#82 2011-01-26 05:07:16

1LordAnubis
Member
Registered: 2008-10-10
Posts: 250
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 14
model name    : Genuine Intel(R) CPU           T2300  @ 1.66GHz
stepping    : 8
cpu MHz        : 1667.000
cache size    : 2048 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 10
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dts
bogomips    : 3326.31
clflush size    : 64
cache_alignment    : 64
address sizes    : 32 bits physical, 32 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 14
model name    : Genuine Intel(R) CPU           T2300  @ 1.66GHz
stepping    : 8
cpu MHz        : 1667.000
cache size    : 2048 KB
physical id    : 0
siblings    : 2
core id        : 1
cpu cores    : 2
apicid        : 1
initial apicid    : 1
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 10
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dts
bogomips    : 3326.38
clflush size    : 64
cache_alignment    : 64
address sizes    : 32 bits physical, 32 bits virtual
power management:

Which seems to point to core 2.... but prescott was recommended by an intel dev or something and i believe this came out before core 2... (as anonymous stated)

edit: ok, this is T2300's output

Last edited by 1LordAnubis (2011-01-27 01:37:32)


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#83 2011-01-26 09:23:47

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky wrote:
Army wrote:
% pacman -Qq | grep kernel26-ck
kernel26-ck

What exactly do you intend to read from that output?

It shows that you need the install the kernel26-ck-headers package in order to build modules smile

pacman -S kernel26-ck-headers

...then give it a try!

Oh damn!!!!!! How could I be so stupid big_smile big_smile big_smile Thanks a lot man!

Offline

#84 2011-01-26 15:28:19

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

After update to kernel26-ck-core2 2.6.37-2 I can't install nvidia-ck-core2. My steps: update kernel package, reboot, login, enter command 'sudo init 3', enter command 'sudo pacman -S nvidia-ck-core2'. I recieve following meassage:

ERROR: Module nvidia does not exist in /proc/modules
In order to use the new nvidia module, exit Xserver and unload it manually.

Last edited by unikum (2011-01-26 15:28:49)

Offline

#85 2011-01-26 20:52:12

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,614
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@unikum - that is the usual message one is presented with when the nvidia module is updated.  Just as an FYI - you do not need to reboot and then install the nvidia module.  Just do it all at once.

Manually unload the old one, then probe the new one and you should be fine.

telinit 3
rmmod nvidia
modprobe nvidia
telinit 5

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#86 2011-01-27 15:44:53

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

rmmod
ERROR: Module nvidia does not exist in /proc/modules

I don't know what reason.

Offline

#87 2011-01-28 00:27:11

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,614
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

unikum wrote:
rmmod
ERROR: Module nvidia does not exist in /proc/modules

I don't know what reason.

Not sure what is wrong on your system.  This is what it should look like upon an upgrade:

(11/11) upgrading nvidia-ck-core2                                  [####################################] 100%
ERROR: Module nvidia is in use
In order to use the new nvidia module, exit Xserver and unload it manually.

Post /var/log/errors.log

Can you enter X upon a reboot?  More info is needed.

Last edited by graysky (2011-01-28 00:28:05)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#88 2011-01-28 03:16:17

flan_suse
Member
Registered: 2010-10-28
Posts: 113

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I'm getting this on the latest update:

WARNING: unresolved dependencies: kernel26-ck-atom -> mkinitcpio>=0.6.8 (not found)

Here is my package info:

bauerbill -Ss kernel26-ck-atom
kernel26-ck/kernel26-ck-atom 2.6.37-4 (ck-atom) [installed: 2.6.37-2]
bauerbill -Ss mkinitcpio
core/mkinitcpio 0.6.7-1 [installed]

Last edited by flan_suse (2011-01-28 03:17:17)

Offline

#89 2011-01-28 08:46:18

Viper_Scull
Member
From: London, UK
Registered: 2011-01-15
Posts: 153

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

From AUR kernel26-ck

Updated... note that you'll need to use mkinitcpio from [testing] or else you can't install this!

x86_64: pacman -U ftp://ftp.gtlib.gatech.edu/pub/linux/di … pkg.tar.xz
i686: pacman -U ftp://ftp.gtlib.gatech.edu/pub/linux/di … pkg.tar.xz

but actually i cant install it cause I'm using systemd as init method (which needs a feature from linux-utils-ng-git), and when i try to install mkinitcpio, i got this error:

error: failed to prepare transaction (conflicting dependencies)
:: util-linux-ng and util-linux-ng-git are in conflict (linux32)

One question graysky:
I was just wondering, I have an Athlon II X4 which is supposed to be a k10 family processor. Is there a specific option for this kind?

Or should i use K8 optimized or the generic one?

x86_64 version, btw.
hanks for all your work.

Last edited by Viper_Scull (2011-01-28 09:01:58)


Athlon II X4 620 + Gigabyte 785GPM-UD2H + 4GB DDR3 + SSD OCZ Vertex2 60GB

Archlinux x86_64 + Openbox

Offline

#90 2011-01-28 09:48:44

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@graysky: after update kernel X srver not start. Part errors.log:

Jan 27 13:37:14 unikum-laptop kernel: nvidia: version magic '2.6.37-ck SMP preempt mod_unload 686 ' should be '2.6.37-ck SMP preempt mod_unload CORE2 '

Offline

#91 2011-01-28 10:45:00

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 406

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Viper_Scull wrote:

error: failed to prepare transaction (conflicting dependencies)
:: util-linux-ng and util-linux-ng-git are in conflict (linux32)

You need util-linux-git, since they changed the name from util-linux-ng.

For makepkg you can just edit the PKGBUILD yourself or put PROVIDES="util-linux-ng" in the PKGBUILD for util-linux-git I suppose.

Offline

#92 2011-01-28 11:40:28

Viper_Scull
Member
From: London, UK
Registered: 2011-01-15
Posts: 153

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Zom wrote:
Viper_Scull wrote:

error: failed to prepare transaction (conflicting dependencies)
:: util-linux-ng and util-linux-ng-git are in conflict (linux32)

You need util-linux-git, since they changed the name from util-linux-ng.

For makepkg you can just edit the PKGBUILD yourself or put PROVIDES="util-linux-ng" in the PKGBUILD for util-linux-git I suppose.

thank you. I hadn't noticed they had changed the name. I removed util-linux-ng-git and installed util-linux-git, and then the update for mkinitcpio worked.


Athlon II X4 620 + Gigabyte 785GPM-UD2H + 4GB DDR3 + SSD OCZ Vertex2 60GB

Archlinux x86_64 + Openbox

Offline

#93 2011-01-28 20:13:56

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,614
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Viper_Scull wrote:

One question graysky:
I was just wondering, I have an Athlon II X4 which is supposed to be a k10 family processor. Is there a specific option for this kind?

Or should i use K8 optimized or the generic one?

The generic one will work for any supported processor.  As to your specific chip, the only option supported by the kernel for AMD aside from generic x86_64 is "Opteron/Athlon64/Hammer/K8" which reads as follows, "Select this for an AMD Opteron or Athlon64 Hammer-family processor. Enables use of some extended instructions, and passes appropriate optimization flags to GCC."   If you can verify that the Athlon II X4 is one of those, I'd say go for it.  If not, I'd use generic x86_64.

@unikum - post the output of:

pacman -Qq | grep .-ck

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#94 2011-01-31 23:44:38

narical
Member
Registered: 2011-01-31
Posts: 1

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I've installed kernel26-ck-atom, but when I try to boot with this kernel - everything is ok until I try to run Xorg. I'm gettin' my Openbox desktop and I can see some tray utilities too, and there's even wallpaper (which means that cairo-compmgr composite manager started) - but system totally freezing. And I see animated mouse cursor in center of screen. Rebooting works only by hard-reset.

with init level 3 system works in text mode

Offline

#95 2011-02-01 01:55:12

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,614
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@narical - i686 or x86_64?  I am running x86_64 on my atom330 just fine... does the 2.26.37-ARCH kernel work for you?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#96 2011-02-01 03:58:24

superchango
Member
From: Tenochtitlan
Registered: 2009-01-22
Posts: 131

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Can you add TuxOnIce patch to the package, please? For the noobs i think will be a great addition.

Edit: Well, after some tries Today I Learn how add a patch to kernel before compiling with makepkg.

Here is my modify PKGBUILD with TuxOnIce patch added (it can be disabled if you want, of course):

http://pastebin.com/jaBRSnsD

I just copy & paste a fragment of the the code from the kernel26-ice PKGBUILD.

Thnxs!!

Last edited by superchango (2011-02-01 04:04:00)


"Yo creo que los muertos son tiernos. ¿Nos besamos?"

Offline

#97 2011-02-01 04:03:48

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

superchango wrote:

Can you add Tuxonice patch to the package, please? For the noobs i think will be a great addition.

Edit: Well, after some tries Today I Learn how add a patch to kernel before compiling with makepkg.

Here is my modify PKGBUILD with TuxOnIce patch added (it can be disabled if you want, of course):

http://pastebin.com/jaBRSnsD

I just copy & paste a fragment of the the code from other kernel26-ice PKGBUILD.

Thnxs!!

Can't you just use kernel26-pf?

Offline

#98 2011-02-01 04:16:19

superchango
Member
From: Tenochtitlan
Registered: 2009-01-22
Posts: 131

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

some-guy94 wrote:

Can't you just use kernel26-pf?

I'm sure that is maybe a best option, but really i'm a noob in this of compile kernels. For strange reason i can't use compiled-by-me kernel26-pf (well, it was compiled good but when i try to use the network don't work), i think the function of module_db script in this PKGBUILD is the part that make the magic xD.

But of course, i'm going to review with more calm about it.

Thank you.

Last edited by superchango (2011-02-01 04:16:59)


"Yo creo que los muertos son tiernos. ¿Nos besamos?"

Offline

#99 2011-02-02 03:18:55

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 345
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

on arch64 with nvidia i had to compile nvidia-ck so that it works.


If it ain't broke, broke it then fix it.

Offline

#100 2011-02-02 11:08:15

graysky
Member
From: /run/user/1000
Registered: 2008-12-01
Posts: 8,614
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Maki wrote:

on arch64 with nvidia i had to compile nvidia-ck so that it works.

@Maki - generic packages?  Got any logs for me?

EDIT: I just installed a brand new arch to an empty partition.  Installed kernel26-ck and nvidia-ck as well as xorg and gnome.  I got into gnome with no problems... I suspect the problem is on your end.

Last edited by graysky (2011-02-02 12:13:50)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB