View previous topic :: View next topic |
Author |
Message |
gringo Advocate


Joined: 27 Apr 2003 Posts: 3793
|
|
Back to top |
|
 |
ewan.paton Veteran


Joined: 29 Jul 2003 Posts: 1219 Location: glasgow, scotland
|
Posted: Fri Mar 26, 2004 4:12 pm Post subject: |
|
|
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 |
|
 |
Jefklak l33t

Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Fri Mar 26, 2004 4:20 pm Post subject: |
|
|
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 |
|
 |
Epyon l33t


Joined: 11 Sep 2003 Posts: 754 Location: NJ, USA
|
Posted: Fri Mar 26, 2004 4:25 pm Post subject: |
|
|
Look at the Makefile. Specifically the EXTRAVERSION line. |
|
Back to top |
|
 |
gringo Advocate


Joined: 27 Apr 2003 Posts: 3793
|
Posted: Fri Mar 26, 2004 5:04 pm Post subject: |
|
|
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 |
|
 |
Cerement Guru


Joined: 14 Jun 2003 Posts: 404
|
Posted: Sat Mar 27, 2004 7:54 am Post subject: |
|
|
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 |
|
 |
Jefklak l33t

Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Sat Mar 27, 2004 10:58 am Post subject: |
|
|
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 |
|
 |
gringo Advocate


Joined: 27 Apr 2003 Posts: 3793
|
Posted: Sat Mar 27, 2004 11:45 am Post subject: |
|
|
I´m using udev stuff too and no troubles so far.
No idea what it could be... |
|
Back to top |
|
 |
Jefklak l33t

Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Sat Mar 27, 2004 1:23 pm Post subject: |
|
|
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 |
|
 |
darkless n00b

Joined: 01 Jan 2004 Posts: 42 Location: Denmark
|
Posted: Sat Mar 27, 2004 3:21 pm Post subject: |
|
|
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 |
|
 |
bssteph l33t


Joined: 26 Feb 2003 Posts: 653 Location: Wisconsin
|
Posted: Sat Mar 27, 2004 3:30 pm Post subject: |
|
|
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 |
|
 |
didl Retired Dev


Joined: 09 Sep 2003 Posts: 1106 Location: Pittsburgh, PA
|
Posted: Sat Mar 27, 2004 3:45 pm Post subject: |
|
|
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 |
|
 |
darkless n00b

Joined: 01 Jan 2004 Posts: 42 Location: Denmark
|
Posted: Sat Mar 27, 2004 3:45 pm Post subject: |
|
|
You are right, I should've made myself clearer to avoid confusion. Thanks for elaborating. _________________ Ignorance should be painful. |
|
Back to top |
|
 |
gringo Advocate


Joined: 27 Apr 2003 Posts: 3793
|
Posted: Sat Mar 27, 2004 4:17 pm Post subject: |
|
|
Thanks for explain it! I was quite confused about this too... |
|
Back to top |
|
 |
Jefklak l33t

Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Sat Mar 27, 2004 4:26 pm Post subject: |
|
|
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 |
|
 |
scaba Apprentice


Joined: 10 Jan 2004 Posts: 252 Location: Zurich, Switzerland
|
Posted: Sat Mar 27, 2004 4:38 pm Post subject: |
|
|
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 |
|
 |
bssteph l33t


Joined: 26 Feb 2003 Posts: 653 Location: Wisconsin
|
Posted: Sat Mar 27, 2004 4:43 pm Post subject: |
|
|
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 |
|
 |
Jefklak l33t

Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Sat Mar 27, 2004 4:58 pm Post subject: |
|
|
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 |
|
 |
dizzogg Tux's lil' helper


Joined: 03 May 2002 Posts: 131 Location: Virginia, USA
|
Posted: Wed Mar 31, 2004 7:22 pm Post subject: |
|
|
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 |
|
 |
ed0n l33t


Joined: 23 Apr 2003 Posts: 638 Location: Prishtine/Kosove
|
Posted: Wed Mar 31, 2004 8:01 pm Post subject: |
|
|
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 |
|
 |
Cerement Guru


Joined: 14 Jun 2003 Posts: 404
|
Posted: Wed Mar 31, 2004 8:51 pm Post subject: |
|
|
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 |
|
 |
dizzogg Tux's lil' helper


Joined: 03 May 2002 Posts: 131 Location: Virginia, USA
|
Posted: Fri Apr 02, 2004 8:01 pm Post subject: |
|
|
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 |
|
 |
TenPin Guru


Joined: 26 Aug 2002 Posts: 500 Location: Kansas City
|
Posted: Fri Apr 02, 2004 11:26 pm Post subject: |
|
|
ck2 works fine here but I think it might be slightly worse that ck1 for responsive ness. Hard to judge though. |
|
Back to top |
|
 |
Corky Guru


Joined: 08 Jul 2003 Posts: 473 Location: Ethorehus, Norge
|
Posted: Sun Apr 04, 2004 6:03 am Post subject: |
|
|
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 |
|
 |
Jefklak l33t

Joined: 26 Oct 2003 Posts: 818 Location: Belgium
|
Posted: Sun Apr 04, 2004 9:09 am Post subject: |
|
|
ck2 runs twice as good as the mm or love sources...
Now patching 2.6.5 @ ck2  _________________ {Linux User #333296}
Kernel 2.6.9-nitro4! << hurrah |
|
Back to top |
|
 |
|