From: Con Kolivas <kernel@kolivas.org>
To: lista4@comhem.se
Cc: akpm@osdl.org, nickpiggin@yahoo.com.au, mr@ramendik.ru,
linux-kernel@vger.kernel.org
Subject: Re: 2.6.10-rc3: kswapd eats CPU on start of memory-eating task
Date: Sun, 19 Dec 2004 10:02:33 +1100 [thread overview]
Message-ID: <41C4B709.2010108@kolivas.org> (raw)
In-Reply-To: <22192287.1103280348090.JavaMail.tomcat@pne-ps1-sn1>
[-- Attachment #1: Type: text/plain, Size: 2737 bytes --]
Voluspa wrote:
> Sorry about the delay.
>
> On 2004-12-17 0:41:30 Andrew Morton wrote:
>
>
>>Can you identify the kernel release which caused the problem to start?
>
>
> My next mail did just that. Sort of. Somewhere between, and including, 2.6.9-
> rc1 and 2.6.9-rc1-bk4. The latter being the first functional kernel I can
> test due to oopses and loss of keyboard in X starting from -rc1.
>
>
>>>with a default of nice 19 and sucks up every free CPU cycle.
>>
>>What sucks up all the CPU? The application? kswapd?
>
>
> The folding client uses all unused CPU, as it should. What kswapd does is
> beyond my knowledge.
>
>
>>How much RAM, how much swap?
>
>
> 256 megabyte ram, about 1 gigabyte swap. You'll find more info in the next
> section.
>
> On 2004-12-16 8:14:44 Nick Piggin wrote:
>
>
>>So please, do the sysrq+m traces with a 2.6.10-rc3 kernel. Thanks.
>
>
> Ok, done. I can do the same with last uneffected 2.6.8.1-bk2 upon request (didn't
> want to spam unless told to). Log from dmesg attached. Don't want to "inline"
> it since my ISP has changed the webmail program to some POS java where I
> have no control over the linebreaks.
>
> Testing explanation: Cold boot. Started the folding client and waited 15
> minutes for it to write the first checkpoint (wanted full stability). Started
> X. Started Blender. Loaded a scene where I only use the "Sequence Editor"
> mode.
>
> In this mode there's a 'preview' window where you can Alt-a, for animate, and
> watch your work in an almost real time. Overhead prevents a real, real time.
> Here I let the animation loop until the testing is over.
>
> What happens during animation is that my 500 1.2 meg pictures (ie 20 seconds) is
> read from /dev/hdb - a slightly better and modern disk, fills up memory
> and then starts using the swap partition on /dev/hda. The read from /dev/hdb
> seems to be done only once since neither memory nor swap is released until
> I close the scene.
>
> The machine CPU usage, as monitored by Gkrellm, is highest during the initial
> phase of swapping, about 50 percent (not counting the niced folding client
> usage) and then falls to about 15 percent when all swapping is done. How
> high it reaches during the screen freezes I don't know.
>
> The sysrq+m snapshots were taken thusly: 1) Some seconds after the beginning of
> swap usage. 2) When the first screen freeze began. 3) In another screen
> freeze. 4) In the last minute of swapping, also during a screen freeze.
>
> Total wall clock was about 3 minutes from beginning of animation to when all
> swapping had been done and the animation was "stable".
Try disabling the swap token
echo 0 > /proc/sys/vm/swap_token_timeout
Cheers,
Con
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2004-12-18 23:03 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-17 10:45 2.6.10-rc3: kswapd eats CPU on start of memory-eating task Voluspa
2004-12-18 23:02 ` Con Kolivas [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-23 0:26 Zou, Nanhai
2004-12-23 13:26 ` Rik van Riel
2004-12-23 13:28 ` Rik van Riel
2004-12-22 8:45 Zou, Nanhai
2004-12-22 14:23 ` Rik van Riel
2004-12-20 12:59 Voluspa
2004-12-21 1:46 ` Mikhail Ramendik
2004-12-20 9:22 Zou, Nanhai
2004-12-20 15:08 ` Rik van Riel
2004-12-20 6:51 Voluspa
2004-12-20 7:12 ` Andrew Morton
2004-12-20 7:44 ` Nick Piggin
2004-12-20 8:03 ` Con Kolivas
2004-12-20 8:58 ` Con Kolivas
2004-12-20 12:55 ` Andrea Arcangeli
2004-12-20 12:06 ` Ed Tomlinson
2004-12-20 12:29 ` Con Kolivas
2004-12-20 17:49 ` Hideo AOKI
2004-12-20 23:51 ` Nick Piggin
2004-12-20 9:07 ` mr
2004-12-20 15:06 ` Rik van Riel
2004-12-19 23:12 Voluspa
2004-12-19 22:40 Voluspa
2004-12-19 22:56 ` Nick Piggin
2004-12-19 23:08 ` Mikhail Ramendik
2004-12-19 23:57 ` Andrew Morton
2004-12-20 0:03 ` Mikhail Ramendik
2004-12-20 3:02 ` Con Kolivas
2004-12-20 3:21 ` Rik van Riel
2004-12-20 4:13 ` Con Kolivas
2004-12-20 4:18 ` Rik van Riel
2004-12-20 4:21 ` Con Kolivas
2004-12-20 4:33 ` Nick Piggin
2004-12-20 7:07 ` Andrew Morton
2004-12-19 14:08 Voluspa
2004-12-15 22:49 Voluspa
2004-12-16 8:03 ` Nick Piggin
2004-12-16 8:14 ` Nick Piggin
2004-12-15 14:02 Voluspa
2004-12-17 0:41 ` Andrew Morton
2004-12-14 7:24 Voluspa
2004-12-12 14:28 Mikhail Ramendik
2004-12-14 0:51 ` Nick Piggin
2004-12-14 2:28 ` Mikhail Ramendik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41C4B709.2010108@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lista4@comhem.se \
--cc=mr@ramendik.ru \
--cc=nickpiggin@yahoo.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.