Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.4-ck2 is out !
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Fri Mar 26, 2004 4:03 pm    Post subject: 2.6.4-ck2 is out ! Reply with quote

http://lkml.org/lkml/2004/3/26/110

staircase included!
Back to top
View user's profile Send private message
ewan.paton
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1219
Location: glasgow, scotland

PostPosted: Fri Mar 26, 2004 4:12 pm    Post subject: Reply with quote

has anyone tested staircase yet, am i right in thinking its anouther disk access shedular or is it for the cpu
_________________
Giay tay nam | Giay nam cao cap | Giay luoi
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Fri Mar 26, 2004 4:20 pm    Post subject: Reply with quote

Nice nice!
I'm going to use this one I think... :)

I'm trying to learn how that patch is built but I still don't get where the "-ck2" thing comes from. I mean, when using "uname -a" it'll say something like "Linux 2.6.4-ck2" > that HAS to be somewhere included in the patch but I have no clue where... Anyone?
More details
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Fri Mar 26, 2004 4:25 pm    Post subject: Reply with quote

Look at the Makefile. Specifically the EXTRAVERSION line.
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Fri Mar 26, 2004 5:04 pm    Post subject: Reply with quote

I patched rc2_mm2 with Con´s available patch and it runs fairly stable.
Had no problems with it so far.

*EDIT* New Reiser4 snapshot out too !
http://www.namesys.com/snapshots/2004.03.26/
Back to top
View user's profile Send private message
Cerement
Guru
Guru


Joined: 14 Jun 2003
Posts: 404

PostPosted: Sat Mar 27, 2004 7:54 am    Post subject: Reply with quote

Okay, anyone having a problem with this one?

Starts booting, makes it up to:
* ALSA Detected...
* Restoring Mixer Levels [ ok ]

and then just hangs ... never gets around to * Starting USB and PCI hotplugging

2.6.4-ck1 worked fine and 2.6.5-rc2-aa1 to -aa3 worked fine ...

feh
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Sat Mar 27, 2004 10:58 am    Post subject: Reply with quote

It could be udev & hotplug.
I'm trying them out right now ill let you know something.
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Sat Mar 27, 2004 11:45 am    Post subject: Reply with quote

I´m using udev stuff too and no troubles so far.
No idea what it could be...
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Sat Mar 27, 2004 1:23 pm    Post subject: Reply with quote

gringo wrote:
I´m using udev stuff too and no troubles so far.
No idea what it could be...


Same here, works.
2.6.4-mm1 doesn't...
(I applied some custom patches but it's generally yust -ck2)

How do you use the staircase? Or is it set default as scheduler?
Something like elevator=stair or what?
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
darkless
n00b
n00b


Joined: 01 Jan 2004
Posts: 42
Location: Denmark

PostPosted: Sat Mar 27, 2004 3:21 pm    Post subject: Reply with quote

Staircase is the name of Con's scheduler policies, whereas as (anticipatory) or cfq (complete fair queue) are the names of the scheduler itself.
_________________
Ignorance should be painful.
Back to top
View user's profile Send private message
bssteph
l33t
l33t


Joined: 26 Feb 2003
Posts: 653
Location: Wisconsin

PostPosted: Sat Mar 27, 2004 3:30 pm    Post subject: Reply with quote

I guess that is true... but not entirely a statement to solve the problem of confusion.

Staircase is a scheduler policy, yes. But it is for _processes_, not _disks_ (as the above post could be read to say). Quote Con:
Quote:
Staircase scheduler?
This is a complete rewrite of the scheduler policy for normal tasks built on top of the O(1) scheduler. The aim was to make a scheduler that is interactive and responsive by design instead of modifying an existing design to make it interactive. 2.6.4-ck2 contains the first public release of this patch and so far has proven stable.


O(1) is the process scheduler. as and cfq are disk schedulers.
Back to top
View user's profile Send private message
didl
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 1106
Location: Pittsburgh, PA

PostPosted: Sat Mar 27, 2004 3:45 pm    Post subject: Reply with quote

Cerement wrote:
Okay, anyone having a problem with this one?

Starts booting, makes it up to:
* ALSA Detected...
* Restoring Mixer Levels [ ok ]

and then just hangs ... never gets around to * Starting USB and PCI hotplugging
feh


Same here. However, hitting ^C a couple of times actually makes it
boot eventually. Problem seems to be in /sbin/rc, but I haven't
figured out what exactly causes it. The kernel itself runs fine.
It seems that the staircase patches cause this problem and after
backing them out, my system boots just fine.
Back to top
View user's profile Send private message
darkless
n00b
n00b


Joined: 01 Jan 2004
Posts: 42
Location: Denmark

PostPosted: Sat Mar 27, 2004 3:45 pm    Post subject: Reply with quote

You are right, I should've made myself clearer to avoid confusion. Thanks for elaborating.
_________________
Ignorance should be painful.
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Sat Mar 27, 2004 4:17 pm    Post subject: Reply with quote

Thanks for explain it! I was quite confused about this too...
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Sat Mar 27, 2004 4:26 pm    Post subject: Reply with quote

bssepth, so I can use "elevator=cfq" AND the staircase I(O)? No boot options or so needed for the first one? I also wonder wich patch those anticipatory or cfq shedulers are, or in wich kernel they are.

Let's say I'm using the -ck2 sources. (Vanilla patched). How can I use anticipatory then? Is there a patch or is it standard? And cfq? That would really clear things up for me :) Thanks!
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
scaba
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 252
Location: Zurich, Switzerland

PostPosted: Sat Mar 27, 2004 4:38 pm    Post subject: Reply with quote

Quote:
How is the cfq scheduler set?
The cfq scheduler is enabled by default in -ck. If you do not wish to use the cfq I/O scheduler you will not benefit from the I/O priorities, but you can set it with the bootparam "elevator=as" or deadline.

http://members.optusnet.com.au/ckolivas/kernel/
_________________
Out of silence, a story. Out of chaos, order. Out of nothingness, love...
-- Tad Williams, Otherland
Back to top
View user's profile Send private message
bssteph
l33t
l33t


Joined: 26 Feb 2003
Posts: 653
Location: Wisconsin

PostPosted: Sat Mar 27, 2004 4:43 pm    Post subject: Reply with quote

Jefklak wrote:
bssepth, so I can use "elevator=cfq" AND the staircase I(O)? No boot options or so needed for the first one? I also wonder wich patch those anticipatory or cfq shedulers are, or in wich kernel they are.

Let's say I'm using the -ck2 sources. (Vanilla patched). How can I use anticipatory then? Is there a patch or is it standard? And cfq? That would really clear things up for me :) Thanks!

The kernel can have multiple disk schedulers compiled and ready for use at once. Examples are cfq, as, and deadline. These are selected with the elevator=x option at boot time.
as and deadline are standard right now and are in the vanilla kernel. as is the default. -ck2 adds cfq.

The kernel can only have one process scheduler under the current model. There is no way to switch them (other than get a different kernel) and therefore no need to choose what you want to use. Examples are:
O(1) - vanilla 2.6, -mm (mm includes some fixes that eventually make it to vanilla)
Nicksched - -love
O(1) + staircase - -ck

Hope this clears it up.
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Sat Mar 27, 2004 4:58 pm    Post subject: Reply with quote

I yust found a "cfq-4.patch" file in the broken-out -mm dir on kernel.org. It's the cfq sheduler, I didn't know it's in -ck2, So i already have it :) Well thanks that indeed clears some things up.

I also heard Con's staircase breaks Nick's sheduler in -mm, so you won't be able to use those 2 at once...
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
dizzogg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2002
Posts: 131
Location: Virginia, USA

PostPosted: Wed Mar 31, 2004 7:22 pm    Post subject: Reply with quote

i think the staircase scheduler needs some more work, my system gets bogged down quite easily w/ it, music skips in rhythmbox, muine, which never happened before, but hey, I guess we're the guinea pigs... maybe I'll try out the aa-kernels..
Back to top
View user's profile Send private message
ed0n
l33t
l33t


Joined: 23 Apr 2003
Posts: 638
Location: Prishtine/Kosove

PostPosted: Wed Mar 31, 2004 8:01 pm    Post subject: Reply with quote

I tested ck few days ago, and I realized that in my p4 1.6ghz 512 mb ram desktop is faster with love-sources.
Back to top
View user's profile Send private message
Cerement
Guru
Guru


Joined: 14 Jun 2003
Posts: 404

PostPosted: Wed Mar 31, 2004 8:51 pm    Post subject: Reply with quote

dizzogg wrote:
i think the staircase scheduler needs some more work, my system gets bogged down quite easily w/ it, music skips in rhythmbox, muine, which never happened before, but hey, I guess we're the guinea pigs... maybe I'll try out the aa-kernels..

Careful with the new -aa patchsets -- was getting all the symptoms of a slow memory leak with them, system ran great right after boot, but after a day, things all over the place started to gradually slow down, could watch each table cell being added when looking at the front page of forums ...
Back to top
View user's profile Send private message
dizzogg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2002
Posts: 131
Location: Virginia, USA

PostPosted: Fri Apr 02, 2004 8:01 pm    Post subject: Reply with quote

Cerement wrote:
dizzogg wrote:
i think the staircase scheduler needs some more work, my system gets bogged down quite easily w/ it, music skips in rhythmbox, muine, which never happened before, but hey, I guess we're the guinea pigs... maybe I'll try out the aa-kernels..

Careful with the new -aa patchsets -- was getting all the symptoms of a slow memory leak with them, system ran great right after boot, but after a day, things all over the place started to gradually slow down, could watch each table cell being added when looking at the front page of forums ...


thanks for the warning....
Back to top
View user's profile Send private message
TenPin
Guru
Guru


Joined: 26 Aug 2002
Posts: 500
Location: Kansas City

PostPosted: Fri Apr 02, 2004 11:26 pm    Post subject: Reply with quote

ck2 works fine here but I think it might be slightly worse that ck1 for responsive ness. Hard to judge though.
Back to top
View user's profile Send private message
Corky
Guru
Guru


Joined: 08 Jul 2003
Posts: 473
Location: Ethorehus, Norge

PostPosted: Sun Apr 04, 2004 6:03 am    Post subject: Reply with quote

TenPin wrote:
ck2 works fine here but I think it might be slightly worse that ck1 for responsive ness. Hard to judge though.


Been running smoothly for me too, I'm not sure about less responsive than ck1, from my limited benchmarks its running about the same.
_________________
Bunder for president ^o^
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Sun Apr 04, 2004 9:09 am    Post subject: Reply with quote

ck2 runs twice as good as the mm or love sources...
Now patching 2.6.5 @ ck2 :P
_________________
{Linux User #333296}
Kernel 2.6.9-nitro4!
<< hurrah
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum