a repeatable way to stall vm?

From: Mike Galbraith (mikeg@wen-online.de)
Date: Tue Jun 26 2001 - 03:42:31 EST


I stumbled onto a strange behavior which may or may not be related
to the stalls reported by a couple of people.

What I did, was to run bonnie in tmpfs to beat up the swap code a
bit. My setup is 128mb ram, and 256mb swap on /dev/hda2, single
spindle. All runs very smoothly (tremendous write throughput btw),
doing bonnie -s 240.

I then added a second partition (/dev/hda5) as sequential addon,
and tried bonnie -s 500. As soon as it crosses over to the second
partition, I see terrible stalls with no disk activity for seconds
at a time.

Interrupting bonnie leaves the file in place. As long as this file
was present, the box was very unresponsive.. mouse (I'm not running X)
jumped around badly etc. rm'd, and responsiveness instantly returned.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:13 EST