2.3.99-pre8 and ramfs freezes my machine.

From: Sven Kirmess (sven.kirmess@gmx.net)
Date: Sun May 14 2000 - 14:23:11 EDT

  • Next message: Sven Kirmess: "2.3.99-pre8 and RAID-{1,5}: unresolved symbol ..."

    Pentium-133 (noMMX)
    64 MB FP RAM
    2.3.99-pre8 (plain)

    # free
                 total used free shared buffers cached
    Mem: 62748 48608 14140 0 240 23952
    -/+ buffers/cache: 24416 38332
    Swap: 136512 60 136452

    I mounted the ramfs with

    mount -t ramfs ramfs /disks/ramdisk.

    1) df -k didn't show the ramdrive

    2) cd /disks /ramdisk; df -k .
       showed the disk but with a size of 0 blocks... I could copy some
       files over but the size stayed 0 blocks.

    3) The real problem: i tried to bench the disk with bonnie.

    # (for i in 10 20 30 40 50 60 70 80 90 100; do /usr/local/src/bonnie/
    Bonnie -d /disks/ramdisk/ -s $i -m $i; done) | tee ~/bonnie.ramfs.txt

    File '/disks/ramdisk//Bonnie.628', size: 10485760
    Writing with putc()...done
    Rewriting...done

    [snip]

    File '/disks/ramdisk//Bonnie.660', size: 52428800
    Writing with putc()...done
    Rewriting...done
    Writing intelligently...done
    Reading with getc()...done
    Reading intelligently...done
    Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
                  -------Sequential Output-------- ---Sequential Input-- --Random--
                  -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
    Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
    50 50 1618 90.3 25056 76.3 22646 92.9 1231 70.7 41538 95.7 2481.5 93.7
    File '/disks/ramdisk//Bonnie.714', size: 62914560
    Writing with putc()...

    ---> freeze. The machine went in a deep freeze. Telnet connections to
    this machine got closed. I couldn't even deactivate the console screen
    saver. Ctrl+Alt+Del doesn't work. I had to use the reset button.

    The problem occurred after the test with a 60 MB file. That's about
    the size of my RAM. Can't the kernel swap out a ramfs filesystem?

    I'm not on the Kernel-ML. I try to track the ML with deja... but, a
    reply per PM would be nice. :-)

     Sven

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



    This archive was generated by hypermail 2b29 : Sun May 14 2000 - 14:30:48 EDT