Re: File-backed loop stress testing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anon wrote:
> What is a good way to stress test a loop-AES file-backed loop to see if I
> can make it fail?

Try lots of writing to the file backed loop file system:

    dd if=/dev/zero of=/mountpoint/foo bs=1024k

If that doesn't trigger it, then start some fatware programs (openoffice +
mozilla) that eat lots of RAM, and then try again.

Deadlocks may happen when kernel is running out of free RAM, and kernel
memory allocation routines attempts to flush dirty RAM pages to backing
store.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux