2004-09-05 12:14:28

by Kasper Sandberg

[permalink] [raw]
Subject: Scheduler experiences

Hey, i wonder which scheduler you people have the best experiences with,
staircase or nicksched?

personally i were using nicksched for a long time, but then i tried
staircase, and i like it overall more,

with nicksched its like, 1 process gets good prioity, so that if tvtime
is running, it runs perfect, but moving windows and stuff will be not so
fluid.
with staircase, the overall performance is not as fast, but
interactivity is really good, like tvtime runs fine, moving windows are
fast as lightening, setiathome can also run perfect.


--
Kasper Sandberg <[email protected]>


2004-09-05 12:25:42

by DaMouse

[permalink] [raw]
Subject: Re: Scheduler experiences

On Sun, 05 Sep 2004 14:14:24 +0200, Kasper Sandberg <[email protected]> wrote:
> Hey, i wonder which scheduler you people have the best experiences with,
> staircase or nicksched?
>
> personally i were using nicksched for a long time, but then i tried
> staircase, and i like it overall more,
>
> with nicksched its like, 1 process gets good prioity, so that if tvtime
> is running, it runs perfect, but moving windows and stuff will be not so
> fluid.
> with staircase, the overall performance is not as fast, but
> interactivity is really good, like tvtime runs fine, moving windows are
> fast as lightening, setiathome can also run perfect.
>
> --
> Kasper Sandberg <[email protected]>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

I personally like staircase, i also used to use nicksched but i prefer
staircases simple design and structure. Nicksched was pretty fast but
twiddling around all day with renicing X and now the HT issues are
annoying and staircase has always worked perfectly for me without
flipping fifty switches in the cockpit.

-DaMouse

--
I know I broke SOMETHING but its there fault for not fixing it before me

2004-09-05 12:37:29

by Nick Piggin

[permalink] [raw]
Subject: Re: Scheduler experiences

DaMouse wrote:

>
> I personally like staircase, i also used to use nicksched but i prefer
> staircases simple design and structure. Nicksched was pretty fast but
> twiddling around all day with renicing X and now the HT issues are
> annoying and staircase has always worked perfectly for me without
> flipping fifty switches in the cockpit.
>

The HT issue should be fixed (I hope).

Why did you have to "twiddle around all day with renicing X"? I realise
you're overstating, but you really should be fine with just setting X
to -10 at startup and be done with it.

2004-09-05 12:43:21

by DaMouse

[permalink] [raw]
Subject: Re: Scheduler experiences

On Sun, 05 Sep 2004 22:37:06 +1000, Nick Piggin <[email protected]> wrote:
> DaMouse wrote:
>
> >
> > I personally like staircase, i also used to use nicksched but i prefer
> > staircases simple design and structure. Nicksched was pretty fast but
> > twiddling around all day with renicing X and now the HT issues are
> > annoying and staircase has always worked perfectly for me without
> > flipping fifty switches in the cockpit.
> >
>
> The HT issue should be fixed (I hope).
>
> Why did you have to "twiddle around all day with renicing X"? I realise
> you're overstating, but you really should be fine with just setting X
> to -10 at startup and be done with it.
>
>

http://forums.gentoo.org/viewtopic.php?t=217543 <-- see here, your
mind makes it real... spooky :)

Thats -mm2 but I can't find patches that fix the HT problems in that
thread, mind pointing them out?

-DaMouse

--
I know I broke SOMETHING but its there fault for not fixing it before me

2004-09-05 12:49:28

by Piotr Neuman

[permalink] [raw]
Subject: Re: Scheduler experiences

> Hey, i wonder which scheduler you people have the best experiences with,
> staircase or nicksched?

I'm using staircase exclusively, but I did compare it to vanilla kernel's
scheduler and yes the interactivity is very good (I'm running x.org and KDE
3.2.3 here).

I have had no sound skips or tvtime problems no matter what kind of disk IO
was being done, which includes MySQL database updates, cron scripts (running
rpm -V on all packages) and wwwoffle purging cached files (note I use the
default as IO sched). Also kernel compilation is no threat to interactivity
with staircase.

I'm a Mandrake user and since the release of Mandrake 10 it does not renice X
server to higher priority so I guess Nick's scheduler would force me to tweak
X startup script.

The other things I like about staircase are that it gives you kernel.compute
and kernel.interactive sysctls that allow to perform serious computational
tasks with it. Also ability to use scheduling policies with schedtool is a
great plus, for example using SCHED_BATCH for cpu bound applications like
seti@home or folding@home.

Overall staircase has been a great experience for me.

Regards

Piotr Neuman

2004-09-05 12:56:32

by Nick Piggin

[permalink] [raw]
Subject: Re: Scheduler experiences

DaMouse wrote:
> On Sun, 05 Sep 2004 22:37:06 +1000, Nick Piggin <[email protected]> wrote:
>
>>DaMouse wrote:
>>
>>
>>>I personally like staircase, i also used to use nicksched but i prefer
>>>staircases simple design and structure. Nicksched was pretty fast but
>>>twiddling around all day with renicing X and now the HT issues are
>>>annoying and staircase has always worked perfectly for me without
>>>flipping fifty switches in the cockpit.
>>>
>>
>>The HT issue should be fixed (I hope).
>>
>>Why did you have to "twiddle around all day with renicing X"? I realise
>>you're overstating, but you really should be fine with just setting X
>>to -10 at startup and be done with it.
>>
>>
>
>
> http://forums.gentoo.org/viewtopic.php?t=217543 <-- see here, your
> mind makes it real... spooky :)
>
> Thats -mm2 but I can't find patches that fix the HT problems in that
> thread, mind pointing them out?
>

Hmm, OK I'll have another look at it. Thanks.

2004-09-05 14:25:27

by Markus Tornqvist

[permalink] [raw]
Subject: Re: Scheduler experiences

Kasper Sandberg wrote:

>Hey, i wonder which scheduler you people have the best experiences with,
>staircase or nicksched?

I've been a fan of Staircase's for a long time; it simply responded faster
and launched progs faster.

I haven't tried nicksched in a while, but it didn't perform as well as
Staircase.

Having a batched mprime torture test in the background still allows me to
play a movie in mplayer, compile a kernel, listen to a CD and browse
the web without glitches. Not that I'd normally watch a movie and listen to
a CD at the same time ;)

Going to try Nicksched again RSN to see if it handles the same load, but
still I have to say I'm mighty pleased with Staircase and the rest of
Con's patches.

(Running 2.6.8.1-cko3 with the lenient patch of -ck6 at the moment)
(This is in an Athlon 1.3GHz with 512MB of RAM and roughly the same of swap)

--
mjt

2004-09-05 15:55:31

by Markus Tornqvist

[permalink] [raw]
Subject: Re: Scheduler experiences (with Reiser4 bug report)

Yours truly wrote:
>I haven't tried nicksched in a while, but it didn't perform as well as
>Staircase.

Just gave -rc1-mm3 a shot and had my filesystems say bad things.
shrike kernel: reiser4 panicked cowardly: assertion failed: extent_get_start(ext) == extent_get_start(&uf_coord->extension.extent.extent)
/bin/sh: line 1: 4407 Segmentation fault rm -f fs/xfs/.xfs_bmap.o.d


Didn't get around to renicing X, but anyway, app launch time was longer
and the music did twitch a bit when starting the simultaneous kernel
and glibc compiles. So I'm still on Staircase and don't see any reason
to change away.

I retried running as much cpu-intensive stuff as I could on cko5, basically
ck6, and everything was smooth. Respects to Con for that :)

This is not a troll nor a flamebait, but an honest question.
Should the need to re-nice X not be seen as broken behavior?

Then on to the Reiser4 issue:

Sep 5 18:45:37 shrike kernel: reiser4[http(4397)]: ext_by_ext_coord (fs/reiser4/plugin/item/extent_file_ops.c:26)[vs-1650]:
Sep 5 18:45:37 shrike kernel: code: -2 at fs/reiser4/search.c:1214
Sep 5 18:45:37 shrike kernel: ------------[ cut here ]------------
Sep 5 18:45:37 shrike kernel: Modules linked in: snd_bt87x ohci1394 ieee1394 snd_emu10k1 snd_rawmidi snd_pcm snd_timer snd_seq_device snd_ac97_codec snd_page_alloc snd_util_mem snd_hwdep snd soundcore parport_pc parport evdev tun iptable_nat ip_conntrack ip_tables uhci_hcd usbcore tuner tda9887 msp3400 bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc videodev i2c_dev i2c_core radeon amd_k7_agp agpgart nvram ide_cd cdrom md5 des blowfish oprofile msr cpuid
Sep 5 18:45:37 shrike kernel: CPU: 0
Sep 5 18:45:37 shrike kernel: EIP: 0060:[reiser4_do_panic+536/576] Not tainted VLI
Sep 5 18:45:37 shrike kernel: EFLAGS: 00210246 (2.6.9-rc1-mm3)
Sep 5 18:45:37 shrike kernel: EIP is at reiser4_do_panic+0x218/0x240
Sep 5 18:45:37 shrike kernel: eax: c05b3fcc ebx: d4a71f38 ecx: c05b3fcc edx: d4a71f38
Sep 5 18:45:37 shrike kernel: esi: 0e2b005b edi: d2bc3d4c ebp: d2a5bca0 esp: d2bc3c44
Sep 5 18:45:37 shrike kernel: ds: 007b es: 007b ss: 0068
Sep 5 18:45:37 shrike kernel: Process http (pid: 4397, threadinfo=d2bc2000 task=d9ba3aa0)
Sep 5 18:45:37 shrike kernel: Stack: c044f7c0 c05b3ba0 c043d880 0e29005b c023f3e1 c04389b3 c045b7a0 0000001a
Sep 5 18:45:37 shrike kernel: d2bc3c70 d2bc3cc8 d2bc3d4c d2a5bca0 00000009 d2a58000 d2bc3d6c d2bc2000
Sep 5 18:45:38 shrike kernel: 00000000 d2bc3d4c 00000003 c0241b3e 00000000 00000000 d2bc3d4c c0261f0f
Sep 5 18:45:38 shrike kernel: Call Trace:
Sep 5 18:45:38 shrike kernel: [coord_extension_is_ok+545/1088] coord_extension_is_ok+0x221/0x440
Sep 5 18:45:38 shrike kernel: [make_extent+558/976] make_extent+0x22e/0x3d0
Sep 5 18:45:38 shrike kernel: [how_to_write+143/5136] how_to_write+0x8f/0x1410
Sep 5 18:45:38 shrike kernel: [check_jload+55/160] check_jload+0x37/0xa0
Sep 5 18:45:38 shrike kernel: [file_is_built_of_tails+5/16] file_is_built_of_tails+0x5/0x10
Sep 5 18:45:38 shrike kernel: [capture_extent+248/1536] capture_extent+0xf8/0x600
Sep 5 18:45:38 shrike kernel: [find_or_create_extent+337/544] find_or_create_extent+0x151/0x220
Sep 5 18:45:38 shrike kernel: [shorten_file+359/832] shorten_file+0x167/0x340
Sep 5 18:45:38 shrike kernel: [truncate_file_body+47/64] truncate_file_body+0x2f/0x40
Sep 5 18:45:38 shrike kernel: [setattr_truncate+114/496] setattr_truncate+0x72/0x1f0
Sep 5 18:45:39 shrike kernel: [tcp_recvmsg+747/1792] tcp_recvmsg+0x2eb/0x700
Sep 5 18:45:39 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 18:45:39 shrike kernel: [setattr_unix_file+44/80] setattr_unix_file+0x2c/0x50
Sep 5 18:45:39 shrike kernel: [reiser4_setattr+127/464] reiser4_setattr+0x7f/0x1d0
Sep 5 18:45:39 shrike kernel: [filemap_nopage+446/768] filemap_nopage+0x1be/0x300
Sep 5 18:45:39 shrike kernel: [do_page_fault+375/1357] do_page_fault+0x177/0x54d
Sep 5 18:45:39 shrike kernel: [notify_change+334/400] notify_change+0x14e/0x190
Sep 5 18:45:39 shrike kernel: [do_truncate+90/160] do_truncate+0x5a/0xa0
Sep 5 18:45:39 shrike kernel: [sys_ftruncate+253/384] sys_ftruncate+0xfd/0x180
Sep 5 18:45:39 shrike kernel: [do_fcntl+166/320] do_fcntl+0xa6/0x140
Sep 5 18:45:39 shrike kernel: [syscall_call+7/11] syscall_call+0x7/0xb
Sep 5 18:45:39 shrike kernel: Code: 42 c0 c7 44 24 08 d6 00 00 00 c7 44 24 04 9e 89 43 c0 c7 04 24 40 29 3f c0 e8 35 00 00 00 c7 44 24 04 40 f8 44 c0 e9 f7 fe ff ff <0f> 0b 85 00 ef 89 43 c0 c7 04 24 0b 54 43 c0 c7 44 24 04 a0 3b
Sep 5 18:45:45 shrike kernel: reiser4[bash(3830)]: txnh_list_link_ok (fs/reiser4/txnmgr.c:286)[nikita-1054]:
Sep 5 18:45:45 shrike kernel: code: -2 at fs/reiser4/search.c:1278
Sep 5 18:45:45 shrike kernel: ------------[ cut here ]------------
Sep 5 18:45:45 shrike kernel: Modules linked in: snd_bt87x ohci1394 ieee1394 snd_emu10k1 snd_rawmidi snd_pcm snd_timer snd_seq_device snd_ac97_codec snd_page_alloc snd_util_mem snd_hwdep snd soundcore parport_pc parport evdev tun iptable_nat ip_conntrack ip_tables uhci_hcd usbcore tuner tda9887 msp3400 bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc videodev i2c_dev i2c_core radeon amd_k7_agp agpgart nvram ide_cd cdrom md5 des blowfish oprofile msr cpuid
Sep 5 18:45:45 shrike kernel: CPU: 0
Sep 5 18:45:45 shrike kernel: EIP: 0060:[reiser4_do_panic+536/576] Not tainted VLI
Sep 5 18:45:45 shrike kernel: EFLAGS: 00210202 (2.6.9-rc1-mm3)
Sep 5 18:45:45 shrike kernel: EIP is at reiser4_do_panic+0x218/0x240
Sep 5 18:45:45 shrike kernel: eax: 00000025 ebx: 00000001 ecx: c04389b3 edx: 0000608b
Sep 5 18:45:45 shrike kernel: esi: dab4e040 edi: d9a29df8 ebp: 00000008 esp: d9a299d0
Sep 5 18:45:45 shrike kernel: ds: 007b es: 007b ss: 0068
Sep 5 18:45:45 shrike kernel: Process bash (pid: 3830, threadinfo=d9a28000 task=d9a06aa0)
Sep 5 18:45:45 shrike kernel: Stack: c0438a84 fffffffe c043d880 d2bc3e98 c01cd404 c04389b3 c0452da0 0000011e
Sep 5 18:45:45 shrike kernel: dab4e040 d6ec8040 d9a29df8 c01cf5e2 00000000 c01edfb2 000000d0 d6ec8040
Sep 5 18:45:45 shrike kernel: 00000000 00000008 dab4e040 c01cc700 00000001 d9a29cb4 d9a29cb4 d9a29df8
Sep 5 18:45:45 shrike kernel: Call Trace:
Sep 5 18:45:45 shrike kernel: [capture_assign_txnh_nolock+164/576] capture_assign_txnh_nolock+0xa4/0x240
Sep 5 18:45:45 shrike kernel: [capture_assign_txnh+242/592] capture_assign_txnh+0xf2/0x250
Sep 5 18:45:45 shrike kernel: [reiser4_block_count+18/176] reiser4_block_count+0x12/0xb0
Sep 5 18:45:45 shrike kernel: [try_capture_block+368/880] try_capture_block+0x170/0x370
Sep 5 18:45:45 shrike kernel: [try_capture+104/304] try_capture+0x68/0x130
Sep 5 18:45:45 shrike kernel: [longterm_lock_tryfast+77/272] longterm_lock_tryfast+0x4d/0x110
Sep 5 18:45:45 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 18:45:45 shrike kernel: [longterm_lock_znode+1520/1792] longterm_lock_znode+0x5f0/0x700
Sep 5 18:45:45 shrike kernel: [reiser4_check_block+27/32] reiser4_check_block+0x1b/0x20
Sep 5 18:45:45 shrike kernel: [zget+721/1600] zget+0x2d1/0x640
Sep 5 18:45:45 shrike kernel: [item_type_by_coord+257/928] item_type_by_coord+0x101/0x3a0
Sep 5 18:45:45 shrike kernel: [cbk_level_lookup+102/1392] cbk_level_lookup+0x66/0x570
Sep 5 18:45:45 shrike kernel: [return_err+46/176] return_err+0x2e/0xb0
Sep 5 18:45:45 shrike kernel: [move_lh_internal+715/2064] move_lh_internal+0x2cb/0x810
Sep 5 18:45:45 shrike kernel: [traverse_tree+291/1824] traverse_tree+0x123/0x720
Sep 5 18:45:45 shrike kernel: [coord_by_handle+41/80] coord_by_handle+0x29/0x50
Sep 5 18:45:45 shrike kernel: [coord_by_key+252/800] coord_by_key+0xfc/0x320
Sep 5 18:45:45 shrike kernel: [find_entry+712/1008] find_entry+0x2c8/0x3f0
Sep 5 18:45:45 shrike kernel: [get_tree+18/176] get_tree+0x12/0xb0
Sep 5 18:45:45 shrike kernel: [lookup_sd+117/352] lookup_sd+0x75/0x160
Sep 5 18:45:45 shrike kernel: [read_inode+116/640] read_inode+0x74/0x280
Sep 5 18:45:45 shrike kernel: [reiser4_alloc_inode+118/256] reiser4_alloc_inode+0x76/0x100
Sep 5 18:45:45 shrike kernel: [reiser4_iget+652/1040] reiser4_iget+0x28c/0x410
Sep 5 18:45:45 shrike kernel: [init_locked_inode+0/320] init_locked_inode+0x0/0x140
Sep 5 18:45:45 shrike kernel: [__wake_up_common+55/96] __wake_up_common+0x37/0x60
Sep 5 18:45:45 shrike kernel: [lookup_hashed+133/256] lookup_hashed+0x85/0x100
Sep 5 18:45:45 shrike kernel: [init_context+237/848] init_context+0xed/0x350
Sep 5 18:45:45 shrike kernel: [reiser4_lookup+116/432] reiser4_lookup+0x74/0x1b0
Sep 5 18:45:45 shrike kernel: [d_lookup+27/64] d_lookup+0x1b/0x40
Sep 5 18:45:45 shrike kernel: [real_lookup+184/224] real_lookup+0xb8/0xe0
Sep 5 18:45:45 shrike kernel: [do_lookup+126/144] do_lookup+0x7e/0x90
Sep 5 18:45:45 shrike kernel: [link_path_walk+1474/2944] link_path_walk+0x5c2/0xb80
Sep 5 18:45:45 shrike kernel: [path_lookup+109/272] path_lookup+0x6d/0x110
Sep 5 18:45:45 shrike kernel: [__user_walk+47/96] __user_walk+0x2f/0x60
Sep 5 18:45:45 shrike kernel: [vfs_stat+29/80] vfs_stat+0x1d/0x50
Sep 5 18:45:45 shrike kernel: [sys_stat64+18/48] sys_stat64+0x12/0x30
Sep 5 18:45:45 shrike kernel: [syscall_call+7/11] syscall_call+0x7/0xb
Sep 5 18:45:45 shrike kernel: Code: 42 c0 c7 44 24 08 d6 00 00 00 c7 44 24 04 9e 89 43 c0 c7 04 24 40 29 3f c0 e8 35 00 00 00 c7 44 24 04 40 f8 44 c0 e9 f7 fe ff ff <0f> 0b 85 00 ef 89 43 c0 c7 04 24 0b 54 43 c0 c7 44 24 04 a0 3b

--
mjt

2004-09-05 16:08:01

by Markus Tornqvist

[permalink] [raw]
Subject: Reiser4 bug

On Sun, Sep 05, 2004 at 06:55:02PM +0300, Markus T?rnqvist wrote:
>Yours truly wrote:
>>I haven't tried nicksched in a while, but it didn't perform as well as
>>Staircase.
>Just gave -rc1-mm3 a shot and had my filesystems say bad things.

OK, some bad luck floating around, I just got the same kind of errors
with -cko5...

Sep 5 19:08:52 shrike kernel: reiser4[http(4585)]: ext_by_ext_coord (fs/reiser4/plugin/item/extent_file_ops.c:26)[vs-1650]:
Sep 5 19:08:52 shrike kernel: code: -2 at fs/reiser4/search.c:1214
Sep 5 19:08:52 shrike kernel: ------------[ cut here ]------------
Sep 5 19:08:52 shrike kernel: Modules linked in: snd_bt87x ohci1394 ieee1394 snd_emu10k1 snd_rawmidi snd_pcm snd_timer snd_seq_device snd_ac97_codec snd_page_alloc snd_util_mem snd_hwdep snd soundcore parport_pc parport evdev tun iptable_nat ip_conntrack ip_tables uhci_hcd usbcore tuner tda9887 msp3400 bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc videodev i2c_dev i2c_core radeon amd_k7_agp agpgart nvram ide_cd cdrom md5 des blowfish oprofile msr cpuid
Sep 5 19:08:52 shrike kernel: CPU: 0
Sep 5 19:08:52 shrike kernel: EIP: 0060:[reiser4_do_panic+536/576] Not tainted
Sep 5 19:08:52 shrike kernel: EFLAGS: 00210246 (2.6.8.1-cko5)
Sep 5 19:08:52 shrike kernel: EIP is at reiser4_do_panic+0x218/0x240
Sep 5 19:08:52 shrike kernel: eax: c05add00 ebx: d2d4ff38 ecx: c05add00 edx: d2d4ff38
Sep 5 19:08:52 shrike kernel: esi: 0e2b005b edi: c375dd4c ebp: c3689ca0 esp: c375dc44
Sep 5 19:08:52 shrike kernel: ds: 007b es: 007b ss: 0068
Sep 5 19:08:52 shrike kernel: Process http (pid: 4585, threadinfo=c375c000 task=c3759830)
Sep 5 19:08:52 shrike kernel: Stack: c0446920 c05ad8c0 c0434b46 0e29005b c023b161 c042fc79 c0452900 0000001a
Sep 5 19:08:52 shrike kernel: c375dc70 c375dcc8 c375dd4c c3689ca0 00000009 c374d000 c375dd6c c375c000
Sep 5 19:08:52 shrike kernel: 00000000 c375dd4c 00000003 c023d8be 00000000 00000000 c375dd4c c025dccf
Sep 5 19:08:52 shrike kernel: Call Trace:
Sep 5 19:08:52 shrike kernel: [coord_extension_is_ok+545/1088] coord_extension_is_ok+0x221/0x440
Sep 5 19:08:52 shrike kernel: [make_extent+558/976] make_extent+0x22e/0x3d0
Sep 5 19:08:52 shrike kernel: [how_to_write+143/5136] how_to_write+0x8f/0x1410
Sep 5 19:08:52 shrike kernel: [check_jload+55/160] check_jload+0x37/0xa0
Sep 5 19:08:52 shrike kernel: [file_is_built_of_tails+5/16] file_is_built_of_tails+0x5/0x10
Sep 5 19:08:53 shrike kernel: [capture_extent+248/1536] capture_extent+0xf8/0x600
Sep 5 19:08:53 shrike kernel: [find_or_create_extent+337/544] find_or_create_extent+0x151/0x220
Sep 5 19:08:53 shrike kernel: [shorten_file+359/832] shorten_file+0x167/0x340
Sep 5 19:08:53 shrike kernel: [truncate_file_body+47/64] truncate_file_body+0x2f/0x40
Sep 5 19:08:53 shrike kernel: [setattr_truncate+114/496] setattr_truncate+0x72/0x1f0
Sep 5 19:08:53 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 19:08:53 shrike kernel: [setattr_unix_file+44/80] setattr_unix_file+0x2c/0x50
Sep 5 19:08:53 shrike kernel: [reiser4_setattr+127/464] reiser4_setattr+0x7f/0x1d0
Sep 5 19:08:53 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 19:08:53 shrike kernel: [notify_change+334/400] notify_change+0x14e/0x190
Sep 5 19:08:53 shrike kernel: [do_truncate+90/160] do_truncate+0x5a/0xa0
Sep 5 19:08:53 shrike kernel: [sys_ftruncate+253/384] sys_ftruncate+0xfd/0x180
Sep 5 19:08:53 shrike kernel: [do_fcntl+166/320] do_fcntl+0xa6/0x140
Sep 5 19:08:53 shrike kernel: [syscall_call+7/11] syscall_call+0x7/0xb
Sep 5 19:08:53 shrike kernel: Code: 0f 0b 84 00 b5 fc 42 c0 c7 04 24 d5 f8 42 c0 c7 44 24 04 c0
Sep 5 19:08:59 shrike kernel: reiser4[cc1(4582)]: txnh_list_link_ok (fs/reiser4/txnmgr.c:286)[nikita-1054]:
Sep 5 19:08:59 shrike kernel: code: -2 at fs/reiser4/search.c:1278
Sep 5 19:08:59 shrike kernel: ------------[ cut here ]------------
Sep 5 19:08:59 shrike kernel: Modules linked in: snd_bt87x ohci1394 ieee1394 snd_emu10k1 snd_rawmidi snd_pcm snd_timer snd_seq_device snd_ac97_codec snd_page_alloc snd_util_mem snd_hwdep snd soundcore parport_pc parport evdev tun iptable_nat ip_conntrack ip_tables uhci_hcd usbcore tuner tda9887 msp3400 bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc videodev i2c_dev i2c_core radeon amd_k7_agp agpgart nvram ide_cd cdrom md5 des blowfish oprofile msr cpuid
Sep 5 19:08:59 shrike kernel: CPU: 0
Sep 5 19:08:59 shrike kernel: EIP: 0060:[reiser4_do_panic+536/576] Not tainted
Sep 5 19:08:59 shrike kernel: EFLAGS: 00210202 (2.6.8.1-cko5)
Sep 5 19:08:59 shrike kernel: EIP is at reiser4_do_panic+0x218/0x240
Sep 5 19:08:59 shrike kernel: eax: 00000025 ebx: 00000001 ecx: c042fc79 edx: 0000684d
Sep 5 19:08:59 shrike kernel: esi: d4c64160 edi: d2d4fdd0 ebp: 00000008 esp: d2d4f9c8
Sep 5 19:08:59 shrike kernel: ds: 007b es: 007b ss: 0068
Sep 5 19:08:59 shrike kernel: Process cc1 (pid: 4582, threadinfo=d2d4e000 task=d9d7a170)
Sep 5 19:08:59 shrike kernel: Stack: c042fd4a fffffffe c0434b46 c375de98 c01c9204 c042fc79 c0449f00 0000011e
Sep 5 19:08:59 shrike kernel: d4c64160 d5dc7b80 d2d4fdd0 c01cb3e2 00000000 00028000 00000000 d5dc7b80
Sep 5 19:08:59 shrike kernel: 00000000 00000008 d4c64160 c01c84e2 00000001 dffd9a00 c01e5ba3 d2d4fdd0
Sep 5 19:08:59 shrike kernel: Call Trace:
Sep 5 19:08:59 shrike kernel: [capture_assign_txnh_nolock+164/576] capture_assign_txnh_nolock+0xa4/0x240
Sep 5 19:08:59 shrike kernel: [capture_assign_txnh+242/592] capture_assign_txnh+0xf2/0x250
Sep 5 19:08:59 shrike kernel: [try_capture_block+370/880] try_capture_block+0x172/0x370
Sep 5 19:08:59 shrike kernel: [write_tree_log+179/512] write_tree_log+0xb3/0x200
Sep 5 19:08:59 shrike kernel: [try_capture+104/304] try_capture+0x68/0x130
Sep 5 19:08:59 shrike kernel: [longterm_lock_tryfast+77/272] longterm_lock_tryfast+0x4d/0x110
Sep 5 19:08:59 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 19:08:59 shrike kernel: [longterm_lock_znode+1520/1792] longterm_lock_znode+0x5f0/0x700
Sep 5 19:08:59 shrike kernel: [cfq_add_crq_rb+68/80] cfq_add_crq_rb+0x44/0x50
Sep 5 19:08:59 shrike kernel: [get_htable+10/32] get_htable+0xa/0x20
Sep 5 19:08:59 shrike kernel: [zlook+149/560] zlook+0x95/0x230
Sep 5 19:08:59 shrike kernel: [prepare_object_lookup+68/592] prepare_object_lookup+0x44/0x250
Sep 5 19:08:59 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 19:08:59 shrike kernel: [traverse_tree+1192/1824] traverse_tree+0x4a8/0x720
Sep 5 19:08:59 shrike kernel: [coord_by_handle+41/80] coord_by_handle+0x29/0x50
Sep 5 19:08:59 shrike kernel: [object_lookup+266/912] object_lookup+0x10a/0x390
Sep 5 19:08:59 shrike kernel: [find_file_item+363/688] find_file_item+0x16b/0x2b0
Sep 5 19:08:59 shrike kernel: [readpage_unix_file+347/2320] readpage_unix_file+0x15b/0x910
Sep 5 19:09:00 shrike kernel: [dst_output+0/48] dst_output+0x0/0x30
Sep 5 19:09:00 shrike kernel: [activate_task+104/128] activate_task+0x68/0x80
Sep 5 19:09:00 shrike kernel: [reiser4_readpage+194/624] reiser4_readpage+0xc2/0x270
Sep 5 19:09:00 shrike kernel: [page_cache_read+149/208] page_cache_read+0x95/0xd0
Sep 5 19:09:00 shrike kernel: [filemap_nopage+668/752] filemap_nopage+0x29c/0x2f0
Sep 5 19:09:00 shrike kernel: [unix_file_filemap_nopage+72/192] unix_file_filemap_nopage+0x48/0xc0
Sep 5 19:09:00 shrike kernel: [do_anonymous_page+247/320] do_anonymous_page+0xf7/0x140
Sep 5 19:09:00 shrike kernel: [do_no_page+137/656] do_no_page+0x89/0x290
Sep 5 19:09:00 shrike kernel: [handle_mm_fault+190/288] handle_mm_fault+0xbe/0x120
Sep 5 19:09:00 shrike kernel: [do_page_fault+308/1286] do_page_fault+0x134/0x506
Sep 5 19:09:00 shrike kernel: [schedule+437/816] schedule+0x1b5/0x330
Sep 5 19:09:00 shrike kernel: [do_page_fault+0/1286] do_page_fault+0x0/0x506
Sep 5 19:09:00 shrike kernel: [error_code+45/56] error_code+0x2d/0x38
Sep 5 19:09:00 shrike kernel: Code: 0f 0b 84 00 b5 fc 42 c0 c7 04 24 d5 f8 42 c0 c7 44 24 04 c0
Sep 5 19:09:00 shrike kernel: reiser4[as(4583)]: txnh_list_link_ok (fs/reiser4/txnmgr.c:286)[nikita-1054]:
Sep 5 19:09:00 shrike kernel: code: -2 at fs/reiser4/search.c:1278
Sep 5 19:09:00 shrike kernel: ------------[ cut here ]------------
Sep 5 19:09:00 shrike kernel: Modules linked in: snd_bt87x ohci1394 ieee1394 snd_emu10k1 snd_rawmidi snd_pcm snd_timer snd_seq_device snd_ac97_codec snd_page_alloc snd_util_mem snd_hwdep snd soundcore parport_pc parport evdev tun iptable_nat ip_conntrack ip_tables uhci_hcd usbcore tuner tda9887 msp3400 bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc videodev i2c_dev i2c_core radeon amd_k7_agp agpgart nvram ide_cd cdrom md5 des blowfish oprofile msr cpuid
Sep 5 19:09:00 shrike kernel: CPU: 0
Sep 5 19:09:00 shrike kernel: EIP: 0060:[reiser4_do_panic+536/576] Not tainted
Sep 5 19:09:00 shrike kernel: EFLAGS: 00210202 (2.6.8.1-cko5)
Sep 5 19:09:00 shrike kernel: EIP is at reiser4_do_panic+0x218/0x240
Sep 5 19:09:00 shrike kernel: eax: 00000025 ebx: 00000001 ecx: c042fc79 edx: 000072ee
Sep 5 19:09:00 shrike kernel: esi: d4c64160 edi: d2d61f00 ebp: 00000008 esp: d2d61a00
Sep 5 19:09:00 shrike kernel: ds: 007b es: 007b ss: 0068
Sep 5 19:09:00 shrike kernel: Process as (pid: 4583, threadinfo=d2d60000 task=d9d7b250)
Sep 5 19:09:00 shrike kernel: Stack: c042fd4a fffffffe c0434b46 c375de98 c01c9204 c042fc79 c0449f00 0000011e
Sep 5 19:09:00 shrike kernel: d4c64160 d36b85e0 d2d61f00 c01cb3e2 0000006c d2d61a58 dffd9a00 d36b85e0
Sep 5 19:09:00 shrike kernel: 00000000 00000008 d4c64160 c01c84e2 00000001 00000000 2e2e2e2e d2d61f00
Sep 5 19:09:00 shrike kernel: Call Trace:
Sep 5 19:09:00 shrike kernel: [capture_assign_txnh_nolock+164/576] capture_assign_txnh_nolock+0xa4/0x240
Sep 5 19:09:00 shrike kernel: [capture_assign_txnh+242/592] capture_assign_txnh+0xf2/0x250
Sep 5 19:09:00 shrike kernel: [try_capture_block+370/880] try_capture_block+0x172/0x370
Sep 5 19:09:00 shrike kernel: [try_capture+104/304] try_capture+0x68/0x130
Sep 5 19:09:00 shrike kernel: [longterm_lock_znode+1350/1792] longterm_lock_znode+0x546/0x700
Sep 5 19:09:00 shrike kernel: [cfq_insert_request+217/272] cfq_insert_request+0xd9/0x110
Sep 5 19:09:00 shrike kernel: [get_htable+10/32] get_htable+0xa/0x20
Sep 5 19:09:00 shrike kernel: [zlook+149/560] zlook+0x95/0x230
Sep 5 19:09:00 shrike kernel: [prepare_object_lookup+68/592] prepare_object_lookup+0x44/0x250
Sep 5 19:09:00 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 19:09:00 shrike kernel: [traverse_tree+1192/1824] traverse_tree+0x4a8/0x720
Sep 5 19:09:00 shrike kernel: [coord_by_handle+41/80] coord_by_handle+0x29/0x50
Sep 5 19:09:00 shrike kernel: [object_lookup+266/912] object_lookup+0x10a/0x390
Sep 5 19:09:00 shrike kernel: [find_file_item+363/688] find_file_item+0x16b/0x2b0
Sep 5 19:09:00 shrike kernel: [append_and_or_overwrite+371/2064] append_and_or_overwrite+0x173/0x810
Sep 5 19:09:00 shrike kernel: [__ide_dma_begin+34/48] __ide_dma_begin+0x22/0x30
Sep 5 19:09:00 shrike kernel: [write_flow+160/240] write_flow+0xa0/0xf0
Sep 5 19:09:00 shrike kernel: [append_hole+157/320] append_hole+0x9d/0x140
Sep 5 19:09:00 shrike kernel: [write_file+59/224] write_file+0x3b/0xe0
Sep 5 19:09:00 shrike kernel: [write_unix_file+565/864] write_unix_file+0x235/0x360
Sep 5 19:09:00 shrike kernel: [filemap_nopage+446/752] filemap_nopage+0x1be/0x2f0
Sep 5 19:09:00 shrike kernel: [reiser4_write+286/848] reiser4_write+0x11e/0x350
Sep 5 19:09:00 shrike kernel: [do_anonymous_page+247/320] do_anonymous_page+0xf7/0x140
Sep 5 19:09:00 shrike kernel: [vfs_write+176/256] vfs_write+0xb0/0x100
Sep 5 19:09:00 shrike kernel: [copy_to_user+50/80] copy_to_user+0x32/0x50
Sep 5 19:09:00 shrike kernel: [sys_write+71/128] sys_write+0x47/0x80
Sep 5 19:09:00 shrike kernel: [syscall_call+7/11] syscall_call+0x7/0xb
Sep 5 19:09:00 shrike kernel: Code: 0f 0b 84 00 b5 fc 42 c0 c7 04 24 d5 f8 42 c0 c7 44 24 04 c0
Sep 5 19:09:02 shrike kernel: <4>atkbd.c: Unknown key released (translated set 2, code 0x81 on isa0060/serio0).
Sep 5 19:09:02 shrike kernel: atkbd.c: Use 'setkeycodes e001 <keycode>' to make it known.
Sep 5 19:09:13 shrike kernel: reiser4[mprime(4578)]: txnh_list_link_ok (fs/reiser4/txnmgr.c:286)[nikita-1054]:
Sep 5 19:09:13 shrike kernel: code: -2 at fs/reiser4/search.c:1278
Sep 5 19:09:13 shrike kernel: ------------[ cut here ]------------
Sep 5 19:09:13 shrike kernel: Modules linked in: snd_bt87x ohci1394 ieee1394 snd_emu10k1 snd_rawmidi snd_pcm snd_timer snd_seq_device snd_ac97_codec snd_page_alloc snd_util_mem snd_hwdep snd soundcore parport_pc parport evdev tun iptable_nat ip_conntrack ip_tables uhci_hcd usbcore tuner tda9887 msp3400 bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc videodev i2c_dev i2c_core radeon amd_k7_agp agpgart nvram ide_cd cdrom md5 des blowfish oprofile msr cpuid
Sep 5 19:09:13 shrike kernel: CPU: 0
Sep 5 19:09:13 shrike kernel: EIP: 0060:[reiser4_do_panic+536/576] Not tainted
Sep 5 19:09:13 shrike kernel: EFLAGS: 00010202 (2.6.8.1-cko5)
Sep 5 19:09:13 shrike kernel: EIP is at reiser4_do_panic+0x218/0x240
Sep 5 19:09:13 shrike kernel: eax: 00000025 ebx: 00000001 ecx: c042fc79 edx: 00007d70
Sep 5 19:09:13 shrike kernel: esi: d4c64160 edi: d53e3e24 ebp: 00000008 esp: d53e39bc
Sep 5 19:09:13 shrike kernel: ds: 007b es: 007b ss: 0068
Sep 5 19:09:13 shrike kernel: Process mprime (pid: 4578, threadinfo=d53e2000 task=da2de0d0)
Sep 5 19:09:13 shrike kernel: Stack: c042fd4a fffffffe c0434b46 c375de98 c01c9204 c042fc79 c0449f00 0000011e
Sep 5 19:09:13 shrike kernel: d4c64160 dfc6c160 d53e3e24 c01cb3e2 00000000 c01e9db2 000000d0 dfc6c160
Sep 5 19:09:13 shrike kernel: 00000000 00000008 d4c64160 c01c84e2 00000001 d53e3cc4 d53e3cc4 d53e3e24
Sep 5 19:09:13 shrike kernel: Call Trace:
Sep 5 19:09:13 shrike kernel: [capture_assign_txnh_nolock+164/576] capture_assign_txnh_nolock+0xa4/0x240
Sep 5 19:09:13 shrike kernel: [capture_assign_txnh+242/592] capture_assign_txnh+0xf2/0x250
Sep 5 19:09:13 shrike kernel: [reiser4_block_count+18/176] reiser4_block_count+0x12/0xb0
Sep 5 19:09:13 shrike kernel: [try_capture_block+370/880] try_capture_block+0x172/0x370
Sep 5 19:09:13 shrike kernel: [try_capture+104/304] try_capture+0x68/0x130
Sep 5 19:09:13 shrike kernel: [key_at_node40+74/272] key_at_node40+0x4a/0x110
Sep 5 19:09:13 shrike kernel: [longterm_lock_tryfast+77/272] longterm_lock_tryfast+0x4d/0x110
Sep 5 19:09:13 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 19:09:13 shrike kernel: [longterm_lock_znode+1520/1792] longterm_lock_znode+0x5f0/0x700
Sep 5 19:09:13 shrike kernel: [reiser4_check_block+27/32] reiser4_check_block+0x1b/0x20
Sep 5 19:09:13 shrike kernel: [zget+721/1600] zget+0x2d1/0x640
Sep 5 19:09:13 shrike kernel: [cbk_level_lookup+116/1376] cbk_level_lookup+0x74/0x560
Sep 5 19:09:13 shrike kernel: [return_err+46/176] return_err+0x2e/0xb0
Sep 5 19:09:13 shrike kernel: [move_lh_internal+715/2064] move_lh_internal+0x2cb/0x810
Sep 5 19:09:13 shrike kernel: [traverse_tree+291/1824] traverse_tree+0x123/0x720
Sep 5 19:09:13 shrike kernel: [coord_by_handle+41/80] coord_by_handle+0x29/0x50
Sep 5 19:09:13 shrike kernel: [coord_by_key+252/800] coord_by_key+0xfc/0x320
Sep 5 19:09:13 shrike kernel: [reiser4_exit_context+14/144] reiser4_exit_context+0xe/0x90
Sep 5 19:09:13 shrike kernel: [insert_by_key+106/368] insert_by_key+0x6a/0x170
Sep 5 19:09:13 shrike kernel: [store_black_box+165/448] store_black_box+0xa5/0x1c0
Sep 5 19:09:13 shrike kernel: [safe_link_add+89/160] safe_link_add+0x59/0xa0
Sep 5 19:09:13 shrike kernel: [setattr_truncate+416/496] setattr_truncate+0x1a0/0x1f0
Sep 5 19:09:13 shrike kernel: [schedulable+8/112] schedulable+0x8/0x70
Sep 5 19:09:13 shrike kernel: [setattr_unix_file+44/80] setattr_unix_file+0x2c/0x50
Sep 5 19:09:13 shrike kernel: [reiser4_setattr+127/464] reiser4_setattr+0x7f/0x1d0
Sep 5 19:09:13 shrike kernel: [reiser4_iget_complete+58/208] reiser4_iget_complete+0x3a/0xd0
Sep 5 19:09:13 shrike kernel: [notify_change+334/400] notify_change+0x14e/0x190
Sep 5 19:09:13 shrike kernel: [do_truncate+90/160] do_truncate+0x5a/0xa0
Sep 5 19:09:13 shrike kernel: [cached_lookup+110/128] cached_lookup+0x6e/0x80
Sep 5 19:09:13 shrike kernel: [reiser4_permission+0/128] reiser4_permission+0x0/0x80
Sep 5 19:09:13 shrike kernel: [may_open+351/448] may_open+0x15f/0x1c0
Sep 5 19:09:13 shrike kernel: [open_namei+160/1328] open_namei+0xa0/0x530
Sep 5 19:09:13 shrike kernel: [filp_open+45/80] filp_open+0x2d/0x50
Sep 5 19:09:13 shrike kernel: [get_unused_fd+40/176] get_unused_fd+0x28/0xb0
Sep 5 19:09:13 shrike kernel: [sys_open+77/128] sys_open+0x4d/0x80
Sep 5 19:09:13 shrike kernel: [syscall_call+7/11] syscall_call+0x7/0xb
Sep 5 19:09:13 shrike kernel: Code: 0f 0b 84 00 b5 fc 42 c0 c7 04 24 d5 f8 42 c0 c7 44 24 04 c0

In my config I have:
CONFIG_REISER4_FS=y
CONFIG_REISER4_LARGE_KEY=y
CONFIG_REISER4_CHECK=y
CONFIG_REISER4_DEBUG=y
CONFIG_REISER4_DEBUG_NODE=y
CONFIG_REISER4_EVENT_LOG=y

Going to try -cko5 without debugging, just for shits and giggles :P

--
mjt

2004-09-08 17:53:41

by Bill Davidsen

[permalink] [raw]
Subject: Re: Scheduler experiences (with Reiser4 bug report)

Markus T?rnqvist wrote:
> Yours truly wrote:
>
>>I haven't tried nicksched in a while, but it didn't perform as well as
>>Staircase.
>
>
> Just gave -rc1-mm3 a shot and had my filesystems say bad things.
> shrike kernel: reiser4 panicked cowardly: assertion failed: extent_get_start(ext) == extent_get_start(&uf_coord->extension.extent.extent)
> /bin/sh: line 1: 4407 Segmentation fault rm -f fs/xfs/.xfs_bmap.o.d
>
>
> Didn't get around to renicing X, but anyway, app launch time was longer
> and the music did twitch a bit when starting the simultaneous kernel
> and glibc compiles. So I'm still on Staircase and don't see any reason
> to change away.
>
> I retried running as much cpu-intensive stuff as I could on cko5, basically
> ck6, and everything was smooth. Respects to Con for that :)
>
> This is not a troll nor a flamebait, but an honest question.
> Should the need to re-nice X not be seen as broken behavior?

It would be desirable to have things run without doing that, people will
undoubtedly call it a bug or tuning, depending on point of view.

--
-bill davidsen ([email protected])
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me