View previous topic :: View next topic |
Author |
Message |
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Sun May 07, 2006 3:38 am Post subject: Viper-Sources: 2.6.16-viper2 [CLOSED] |
|
|
REISER4 + LOCKLESS IS BROKEN AT THE MOMENT. NEW VERSION COMING SOON.
Nick Piggin is doing some interesting work on lockless pagecaches.
Nick Piggin's Chapter on Lockless Radix Trees
KernelTrap.org Announcement & Benchmarks
This is something I created today out of boredom. I hope someone can find some use for it.
I've never made an ebuild before, so I this one fails, please give me tips.
Includes:
Nick Piggin's Lockless Patches, genpatches-base, genpatches-extra, patches from ck, and various others.
Patch titles:
Code: | genpatches-2.6.16-8.base.tar.bz2
genpatches-2.6.16-8.extras.tar.bz2
2.6.16-lockless.bz2
defaultcfq.diff
pdflush-tweaks.patch
hz-default_values.patch
hz-no_default_250.patch
vm-mapped-1.diff
vm-lots_watermark.diff
mm-background_scan.patch
mm-kswapd_inherit_prio-1.patch
mm-prio_dependant_scan-1.patch
reiser4-for-2.6.16-2.patch.gz
realtime-lsm.diff
usbxchange5.diff
usb-mouse-polling.diff
netfilter-later7-2.1.diff |
Patch: http://vipernicus.exonotion.com/linux/patches/viper-sources/linux-2.6.16-viper2.bz2
Ebuild:http://vipernicus.exonotion.com/linux/patches/viper-sources/viper-sources-2.6.16-r2.ebuild
Also, if you want the staircase v15 scheduler, you can apply this patch on top of -viper2:
Patch2: http://vipernicus.exonotion.com/linux/patches/viper-sources/linux-2.6.16-viper2-staircase.bz2 _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Last edited by vipernicus on Sun May 07, 2006 10:01 pm; edited 1 time in total |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun May 07, 2006 1:38 pm Post subject: |
|
|
Will test it a little later. Seems interesting, but could you give a description of what this lockless pagecache is? The pdf was a bit confusing. Also where do we enable it? |
|
Back to top |
|
|
immudium Guru
Joined: 12 Oct 2004 Posts: 332 Location: Utah
|
Posted: Sun May 07, 2006 8:46 pm Post subject: |
|
|
I gave it a whirl. Unfortunately I get a very nasty looking kernel panic very early on right after it mounts my root partition. Since it's reiser4, perhaps it's an issue with that file system? It happens with all of the difference schedulers, cfq and deadline so I don't think it's an issue with the new scheduler code, but I don't know enough to be able to tell for sure. And I'm also not sure how to capture the debug messages and stack traces from that early on in the boot process. But for whatever it's worth, I've copied at least what seems to be the relevant parts by hand, perhaps it will help point to what the issue really might be. At least I hope so, I was really looking forward to giving this new anticipatory schudler a whirl.
Code: | NMI Watchdog detected LOCKUP on CPU 1
CPU 1
Modules linked in:
Pid:993, comm: khelper Not tainted 2.6.16-viper2 #3
RIP... {__write_lock_failed + 7}
...
...
...
Call Trace: ...{.text.lock.spinlcok + 123}
...
...
...
console shuts up...
<0> Kernel panic - not syncing:Aiee, killing interrupt handler!
|
Anyway, I don't know if that's useful or not. I have 0 kernel hacking experience so if there is something that I can do to provide more thorough or useful debug information, please let me know. This is on an AMD64 X2 4400+ dual core. |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
immudium Guru
Joined: 12 Oct 2004 Posts: 332 Location: Utah
|
Posted: Sun May 07, 2006 10:26 pm Post subject: |
|
|
vipernicus wrote: | Can I see your .config? |
I see the topic has been closed temporarily due to reiser4 + lockless. Do you still want me to post my .config? If so, would you prefer it here? Or someplace like pastebin? |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Sun May 07, 2006 11:24 pm Post subject: |
|
|
immudium wrote: | vipernicus wrote: | Can I see your .config? |
I see the topic has been closed temporarily due to reiser4 + lockless. Do you still want me to post my .config? If so, would you prefer it here? Or someplace like pastebin? |
No, I'm working on another patch with the fix for your problem. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
cheater1034 Veteran
Joined: 09 Sep 2004 Posts: 1558
|
Posted: Mon May 08, 2006 10:20 pm Post subject: |
|
|
That looks good, lockless sure is a good piece of work.
I can't wait to see it progress, and see some of its bugs get fixed. (Nick Piggins requested it to be placed into -mm, but it will probally be held back a bit until things like this reiser4 issue are fixed) _________________ IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land. |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Tue May 09, 2006 3:28 am Post subject: |
|
|
cheater1034 wrote: | That looks good, lockless sure is a good piece of work.
I can't wait to see it progress, and see some of its bugs get fixed. (Nick Piggins requested it to be placed into -mm, but it will probally be held back a bit until things like this reiser4 issue are fixed) |
It's great, I'm running it at the moment, and the pagecache performance is excellent. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
|