Re: 6.0 VFS/VM over-runs. Was: Apparent strange disk behaviour in 6.0

From: Peter Jeremy (peterjeremy_at_optushome.com.au)
Date: 07/29/05

  • Next message: Chris: "Re: BSD Installer release 1"
    Date: Sat, 30 Jul 2005 07:44:50 +1000
    To: Julian Elischer <julian@elischer.org>
    
    

    [CC list pruned]

    On Thu, Jul 28, 2005 at 02:13:44PM -0700, Julian Elischer wrote:
    >file data written to cache to await output to disk is allowed to grow to
    >the extent that running programs are swapped out.
    >(or at least paged out).

    I don't see this on 5.3 either. In multi-user mode (with lots of
    other processes sitting aroung idle) vmstat shows fr and sr sit at
    around 10,000/sec but there's no paging and a "ps -axl" afterwards
    shows everything mostly still resident. The active memory (avm)
    hardly changes but free memory drops from 233MB to 20MB over 8 seconds
    than oscillates between about 16MB and 30MB. Disk I/O remains at
    35-40MB/sec (ie disk limited).

    This is an Athlon XP-1800 512MB RAM writing a 10GB file onto an ATA disk.
    PREEMPTION is enabled.

    Since Marc Olzheim reports it happens with 5-STABLE and Julian reports
    it doesn't happen on 5.4 and I can't reproduce it on 5.3, one option
    would seem to be that it was MFC'd to 5 at some point since 5.4 was
    branched. Unfortunately, a quick scan through the RELENG_5 commits
    doesn't reveal anything that might be relevant.

    The other possibility is that it's RAM size related. The vmstat
    output Julian posted demonstrating the problem was on a system with a
    fair bit of RAM, but his 5.4 system is presumably smaller and my
    system definitely is.

    -- 
    Peter
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Chris: "Re: BSD Installer release 1"

    Relevant Pages

    • Re: OT/drift: when is a RAMdisk an appropriate solution
      ... include the "ram disk" component in your project. ... Sometimes, a physical RAM ... only to wind up going directly to regular old ordinary memory, ... testing the file system software. ...
      (comp.lang.c)
    • Re: 6.0 VFS/VM over-runs. Was: Apparent strange disk behaviour in 6.0
      ... >>file data written to cache to await output to disk is allowed to grow to ... The active memory ... >Since Marc Olzheim reports it happens with 5-STABLE and Julian reports ... >The other possibility is that it's RAM size related. ...
      (freebsd-current)
    • Re: teaching a child - console or GUI
      ... >> possible to set up some pretty fancy 'accelerators' ... disk under a file name that is ... ... or are they really a bunch of pointers ... You mean that you had to be convinced of the 'CD in RAM' approach? ...
      (comp.lang.pascal.delphi.misc)
    • Re: Future Linux on Bistable Storage
      ... One major difference between disk and RAM is the tradeoffs between size, ... resume the system -- except perhaps for I/O initialisation. ... Writing all of RAM to disk burns more power than powering RAM for several ...
      (Linux-Kernel)
    • OT/drift: when is a RAMdisk an appropriate solution
      ... include the "ram disk" component in your project. ... Sometimes, a physical RAM ... only to wind up going directly to regular old ordinary memory, ... testing the file system software. ...
      (comp.lang.c)