[Bug 27441] Re: Thrashing hell
Ole Laursen
olau at hardworking.dk
Fri Mar 7 11:30:20 UTC 2008
What makes you think the problem would be gone?
Does the LiveCD contain a C compiler? Otherwise, if you have access to
the new kernel, you could try my instructions above.
Let me spell it out. Install GCC with synaptic (or "apt-get install
gcc"). Fetch the test program I attached above. Then run the following
command from a shell:
gcc -Wall memhog.c -o memhog
Make sure swap is activated. Then run "./memhog megabytes-to-allocate",
e.g. "./memhog 400" to eat up 400 MBs of memory. The program sits tight
on the memory for 60 seconds, then quits. You'll need to adjust the
amount according to how much memory you have on your system. You can
take a look with
free -m
This will take you maybe 10 minutes.
Also why did this bug report end up on the kernel? Ben Collins on the
previous bug clearly stated that he didn't thought it was a kernel
problem. No matter what it's probably first and foremost a question of
providing sensible configuration defaults.
--
Thrashing hell
https://bugs.launchpad.net/bugs/27441
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-source-2.6.15 in ubuntu.
More information about the kernel-bugs
mailing list