| View previous topic :: View next topic |
| Author |
Message |
xanti n00b

Joined: 21 Oct 2004 Posts: 5
|
Posted: Thu Oct 21, 2004 11:25 pm Post subject: |
|
|
Don't know if it is a general problem with heavy loads, but i'm having a similar problem with the sound in UT2004. It doesn't disappear though; it just sort of goes into limbo for a while [/quote]
Perhaps you're using the very nice wrapper for UT which makes it nice-5 or are running X nice < 0. With staircase you should run all user apps at nice 0 or higher.[/quote]
Unfortunately not
| Code: | if [ -x "${UT2004_DATA_PATH}/ut2004-bin" ]
then
cd "${UT2004_DATA_PATH}/"
exec "./ut2004-bin" $*
fi |
The above is the launcher script ( I cut out the crap to find the path )
ill try modifying it to >nice -n 19 exec "./ut2004-bin" $*< though it seems a little extreeme...
Well it works, sound wise anyways - now ut segfaults after a little while... migth have to play arround with the value abit..[/quote]
How about X? Is that run nice 0?
I think someone else who had the problem found nice+15 worked ok for UT. |
|
| Back to top |
|
 |
GaMMa l33t


Joined: 23 Aug 2002 Posts: 684 Location: USA
|
Posted: Fri Oct 22, 2004 5:16 am Post subject: |
|
|
Using cko1 since it was released, with no problems at all. This has to be one of my favorite kernels, it's fast, responsive and stable. _________________ Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide] |
|
| Back to top |
|
 |
rc Apprentice


Joined: 16 Dec 2003 Posts: 227
|
Posted: Fri Oct 22, 2004 8:34 am Post subject: |
|
|
Hi,
| guppy wrote: | well it seem stable enough - been up 6 hours now.
One thing that does bug me is that it wreaks havoc on ut2004 's sounds, it just goes away mid sound and then everything is silent for about ½ sec or so then comes back, this continues endlessly...
Doesnt happen with ET though - but then ET isn't as demanding.
Im pretty sure this is a timing / scheduling issue, guess I better try the vanilla version
Any one else notice the sound skipping during heavy loads? |
I noticed some strange behavior too.
While benchmarking doom3 there are random slow downs.
During one of these slowdowns i switched to console and top showed kswapd using approximately 30% of the CPU time.
30% is far to much i think. My CPU is an Athlon64 3200 Clawhammer (2.0 GHz, 1024 KB 2nd level cache).
I tried 2.6.9-/ ck-sources-r1 and gentoo-dev-sources-r1 both with the same result.
Note: Im running a x86_64 (AMD64) system.
Greetings,
rc |
|
| Back to top |
|
 |
PrakashP Veteran


Joined: 27 Oct 2003 Posts: 1239 Location: C.C.A.A., Germania
|
Posted: Fri Oct 22, 2004 9:00 am Post subject: |
|
|
| I gave up on testing to find which patch locks up in ck1. It is not cfq2 though it seems with using it it is more easily triggered. For the time being I just see how it goes... |
|
| Back to top |
|
 |
xanti n00b

Joined: 21 Oct 2004 Posts: 5
|
Posted: Fri Oct 22, 2004 10:01 am Post subject: |
|
|
| rc wrote: | Hi,
| guppy wrote: | well it seem stable enough - been up 6 hours now.
One thing that does bug me is that it wreaks havoc on ut2004 's sounds, it just goes away mid sound and then everything is silent for about ½ sec or so then comes back, this continues endlessly...
Doesnt happen with ET though - but then ET isn't as demanding.
Im pretty sure this is a timing / scheduling issue, guess I better try the vanilla version
Any one else notice the sound skipping during heavy loads? |
I noticed some strange behavior too.
While benchmarking doom3 there are random slow downs.
During one of these slowdowns i switched to console and top showed kswapd using approximately 30% of the CPU time.
30% is far to much i think. My CPU is an Athlon64 3200 Clawhammer (2.0 GHz, 1024 KB 2nd level cache).
I tried 2.6.9-/ ck-sources-r1 and gentoo-dev-sources-r1 both with the same result. |
That looks like the important part. Something in the vm in 2.6.9 seems wrong, and -ck can't save it:
http://marc.theaimsgroup.com/?l=linux-kernel&m=109842718511675&w=2 |
|
| Back to top |
|
 |
rc Apprentice


Joined: 16 Dec 2003 Posts: 227
|
Posted: Fri Oct 22, 2004 12:38 pm Post subject: |
|
|
Hi again,
2.6.9-nitro1 and 2.6.9 kernel from kernel.org have the same problem as posted above.
But the 2.6.9-bk6 patch (also from kernel.org) seems (not [see Edit 2 below]) to fix that issue (just noticed that the actual bk is now 7 will try that later).
Maybe someone else can try that and post if it worked.
Edit: 2.6.9-bk7 has the same problem. kswapd up to 60% CPU usage while running doom3 timedemo.
Edit 2: 2.6.9-bk6 shows the same problem. Slowdown occured during the 11th or 12th test. As posted above this strange behavior occours randomly.
Greetings,
rc |
|
| Back to top |
|
 |
xanti n00b

Joined: 21 Oct 2004 Posts: 5
|
Posted: Fri Oct 22, 2004 1:30 pm Post subject: |
|
|
| rc wrote: | Hi again,
2.6.9-nitro1 and 2.6.9 kernel from kernel.org have the same problem as posted above.
But the 2.6.9-bk6 patch (also from kernel.org) seems (not [see Edit 2 below]) to fix that issue (just noticed that the actual bk is now 7 will try that later).
Maybe someone else can try that and post if it worked.
Edit: 2.6.9-bk7 has the same problem. kswapd up to 60% CPU usage while running doom3 timedemo.
Edit 2: 2.6.9-bk6 shows the same problem. Slowdown occured during the 11th or 12th test. As posted above this strange behavior occours randomly.
Greetings,
rc |
This sounds serious enough to warrant posting to the linux kernel mailing list. |
|
| Back to top |
|
 |
SKLP Tux's lil' helper


Joined: 09 May 2004 Posts: 96
|
Posted: Fri Oct 22, 2004 2:59 pm Post subject: |
|
|
| GaMMa wrote: | | Using cko1 since it was released, with no problems at all. This has to be one of my favorite kernels, it's fast, responsive and stable. | Yeah, I agree completely. |
|
| Back to top |
|
 |
nxsty Veteran


Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Fri Oct 22, 2004 5:51 pm Post subject: |
|
|
| SKLP wrote: | | ]Yeah, I agree completely. |
I'm running 2.6.9-ck1 here on my workstation, laptop and server with no problems at all. |
|
| Back to top |
|
 |
rc Apprentice


Joined: 16 Dec 2003 Posts: 227
|
Posted: Fri Oct 22, 2004 6:37 pm Post subject: |
|
|
Well,
i've searched around and found some links regarding this problem:
http://www.ussg.iu.edu/hypermail/linux/kernel/0410.1/1621.html
http://marc.free.net.ph/message/20041013.083941.388c9ea1.html#linux-xfs
http://forums.gentoo.org/viewtopic.php?t=60065&highlight=kswapd+cpu+high
http://bugzilla.kernel.org/show_bug.cgi?id=3580
Looks like this is either some kind of problem with heavy IO loads or when the used memory reaches a certin percentage of the installed physical memory, or both combined.
This would explain a bit why i experience the most dramatic performance decrease during the first timedemo run in doom3.
This problem seemed to show up in older kernel versions and was fixed by newer ones but i cant find any info on how to fix it.
Here is the procedure i used to upgrade to the new kernel:
emerge / "un-tar" new kernel
make sure /usr/src/linux points to the correct location if not correct this
cp my old .config in the new dir
make oldconfig
make && make modules_install
am i missing something here ?
Could this problem be caused by a bad kernel configuration ?
In the meantime i also tried 2.6.9-mm1 and /-ac3 same result.
The cko1 patch applies without an error, but compiling the kernel fails.
Greetings,
confused rc |
|
| Back to top |
|
 |
rc Apprentice


Joined: 16 Dec 2003 Posts: 227
|
Posted: Fri Oct 22, 2004 9:05 pm Post subject: |
|
|
| xanti wrote: |
This sounds serious enough to warrant posting to the linux kernel mailing list. |
well,
its kinda late here
maybe this is a good idea.
But i want to make sure i elliminate as much failures as possible on my side.
Next thing i'll try is switching to udev ... i think i still have devfs or so installed.
btw my system is compiled with "suicide cflags" and ~amd64.
But cflags shouldnt affect the kernel compile process at all (not sure about ~amd64).
Edit: sorry for two posts in the row, but i didnt notice xanti's poste in time .. as written above its kinda late
greets,
rc |
|
| Back to top |
|
 |
Lucho[FLCL] Apprentice


Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Oct 24, 2004 6:31 am Post subject: |
|
|
4 days and counting here...working very very well.
Well, it's true, I don't use USB devices...So I think this kernel rocks.  |
|
| Back to top |
|
 |
nxsty Veteran


Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Sun Oct 24, 2004 8:04 am Post subject: |
|
|
| rc wrote: | Hi again,
2.6.9-nitro1 and 2.6.9 kernel from kernel.org have the same problem as posted above.
But the 2.6.9-bk6 patch (also from kernel.org) seems (not [see Edit 2 below]) to fix that issue (just noticed that the actual bk is now 7 will try that later).
Maybe someone else can try that and post if it worked.
Edit: 2.6.9-bk7 has the same problem. kswapd up to 60% CPU usage while running doom3 timedemo.
Edit 2: 2.6.9-bk6 shows the same problem. Slowdown occured during the 11th or 12th test. As posted above this strange behavior occours randomly.
Greetings,
rc |
Try this patch and see if it helps:
http://lkml.org/lkml/2004/10/23/302 |
|
| Back to top |
|
 |
rc Apprentice


Joined: 16 Dec 2003 Posts: 227
|
Posted: Sun Oct 24, 2004 1:24 pm Post subject: |
|
|
thanks for that link nxsty.
Well i've run about 6 test runs using doom3 timedemo yet and kswapd hasn't gone wild.
Note: i manually edited vmscan.c and i'm running 2.6.9-ck1 right now
Greetings,
rc |
|
| Back to top |
|
 |
MrGreen Apprentice

Joined: 07 Nov 2003 Posts: 207
|
Posted: Sun Oct 24, 2004 1:36 pm Post subject: |
|
|
2.6.9-ck1 Steady as a rock.....very  |
|
| Back to top |
|
 |
Lucho[FLCL] Apprentice


Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Oct 24, 2004 7:40 pm Post subject: |
|
|
2.6.9-ck2 is out, it fixes some problems:
| Code: |
Added:
+mwII-oc.diff
Linking hardmaplimit to overcommit is no longer required as hardmaplimit
is not set by default, and there was a compile problem with modules.
This backs it out.
+back-sched-net-fix-scheduling-latencies-in-__release_sock.patch
Something about this patch from the low latency hacks in combination
with -ck causes a panic on nmap with some hardware (only on -ck). Remove
it for now.
+ll-config1.diff
Change the default low latency config options to have the debug off by
default.
+fix-bad-segment-coalescing-in-blk_recalc_rq_segments.patch
A bugfix for i/o scheduler which improves performance under heavy i/o load.
+vm-pages_scanned-active_list.patch
A nasty bug that caused kswapd to get stuck consuming heaps of cpu which
was in mainline 2.6.9 was tracked down by some of my users (thanks!) and
fixed by Nick Piggin (thanks!).
+269ck2-version.diff
Version
Removed:
-ll-config.diff
This disabled preempting the BKL which actually seems quite safe on
further testing.
Full Patchlist:
2.6.9_to_staircase9.0.diff
schedrange.diff
schedbatch2.5.diff
schediso2.8.diff
mwII.diff
mwII-oc.diff
1g_lowmem1_i386.diff
cfq2-20041019.patch
block_fix.diff
defaultcfq.diff
269rc4-mingo_ll.diff
back-sched-net-fix-scheduling-latencies-in-__release_sock.patch
269rc4-mingo-bkl.diff
ll-config1.diff
cddvd-cmdfilter-drop.patch
nvidia_compat.diff
fix-bad-segment-coalescing-in-blk_recalc_rq_segments.patch
vm-pages_scanned-active_list.patch
269ck2-version.diff
|
Grab it here: http://ck.kolivas.org/patches/2.6/2.6.9/2.6.9-ck2/patch-2.6.9-ck2.bz2 |
|
| Back to top |
|
 |
Lucho[FLCL] Apprentice


Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Oct 24, 2004 7:48 pm Post subject: |
|
|
| codergeek42 wrote: | Just compiled/installed it while ago. Definitely feels snappier and more responsive, and very stable so far.
If you're reading this, CK, thank you for truly awesome kernel hacking.  |
He is!!!
From the CK mailing list:
| Quote: |
This is unfortunate, and the gentoo forums show it happening with
mainline as well as I said:
http://forums.gentoo.org/viewtopic.php?t=239686&start=50
Something is seriously broken there. This needs to be reported to the
linux kernel mailing list. Of course it will only be useful if the
report is about mainline.
Cheers,
Con
|
Which points to this thread  |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Oct 24, 2004 8:08 pm Post subject: |
|
|
| Lucho[FLCL] wrote: | | codergeek42 wrote: | Just compiled/installed it while ago. Definitely feels snappier and more responsive, and very stable so far.
If you're reading this, CK, thank you for truly awesome kernel hacking.  |
He is!!!
From the CK mailing list:
| Quote: |
This is unfortunate, and the gentoo forums show it happening with
mainline as well as I said:
http://forums.gentoo.org/viewtopic.php?t=239686&start=50
Something is seriously broken there. This needs to be reported to the
linux kernel mailing list. Of course it will only be useful if the
report is about mainline.
Cheers,
Con
|
Which points to this thread  | COOLs.... _________________ ~~ Peter: GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
c0balt Guru


Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Sun Oct 24, 2004 8:12 pm Post subject: |
|
|
Awesome!
thx for the great patchset =) |
|
| Back to top |
|
 |
kruthles n00b


Joined: 12 Dec 2003 Posts: 11 Location: mn
|
Posted: Sun Oct 24, 2004 9:01 pm Post subject: |
|
|
Patch works great here on gentoo-dev-sources
2.6.9-gentoo-r1
 |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Oct 24, 2004 9:14 pm Post subject: |
|
|
| Code: | /home/peter $ uname -sr
Linux 2.6.10-rc1-ck1 | Shweet.... _________________ ~~ Peter: GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
Nutterpc Tux's lil' helper


Joined: 02 Feb 2004 Posts: 83
|
Posted: Mon Oct 25, 2004 5:15 am Post subject: |
|
|
Well I've been running the 2.6.9-ck1 kernel and no problems here
Matter of fact, I've *never* (touch wood) had problems with any of Cons patchets  _________________ If it isn't broke, you ain't tweaked it right
Registered Linux User 353232 |
|
| Back to top |
|
 |
aderio Tux's lil' helper


Joined: 01 Dec 2003 Posts: 118 Location: England
|
Posted: Mon Oct 25, 2004 8:28 am Post subject: |
|
|
| Lucho[FLCL] wrote: | | codergeek42 wrote: | Just compiled/installed it while ago. Definitely feels snappier and more responsive, and very stable so far.
If you're reading this, CK, thank you for truly awesome kernel hacking.  |
He is!!!
From the CK mailing list:
| Quote: |
This is unfortunate, and the gentoo forums show it happening with
mainline as well as I said:
http://forums.gentoo.org/viewtopic.php?t=239686&start=50
Something is seriously broken there. This needs to be reported to the
linux kernel mailing list. Of course it will only be useful if the
report is about mainline.
Cheers,
Con
|
Which points to this thread  |
If you are, as it would appear, reading this CK, please put reiser4 back in or have an optional patch. I've been using ck-2.6.8.1-r7 as my stable kernel, now the devs have dropped it from portage. Before anyone says -nitro -mm -... I like ck-sources and would prefer an 'official patch' None the less thanks for all your work CK. _________________ Typos lead to premature baldness, therefore lick and stick whenever possible. Veteran status may mean that you post a lot of *** I'm a noob and clueless.
"Let us go forward together" Winston Churchill |
|
| Back to top |
|
 |
c0balt Guru


Joined: 04 Jul 2004 Posts: 441 Location: Germany
|
Posted: Mon Oct 25, 2004 12:22 pm Post subject: |
|
|
| aderio wrote: | | If you are, as it would appear, reading this CK, please put reiser4 back in or have an optional patch. I've been using ck-2.6.8.1-r7 as my stable kernel, now the devs have dropped it from portage. Before anyone says -nitro -mm -... I like ck-sources and would prefer an 'official patch' None the less thanks for all your work CK. |
I kinda saw this happening^^ |
|
| Back to top |
|
 |
vrln Guru


Joined: 11 Sep 2004 Posts: 534 Location: Finland
|
Posted: Mon Oct 25, 2004 12:56 pm Post subject: |
|
|
| 2.6.10-rc1-ck1 is also out for those who want to test non-stable versions. 2.6.10 has the patch where you can switch io schedulers on the fly. You need to boot with elevator=cfq to get it to use the right io scheduler, the defaultcfq patch isn't working. Otherwise it's running fine so far... I'm testing to emerge openoffice to see how it reacts to load. |
|
| Back to top |
|
 |
|