Re: Copying huge amount of data on ReiserFS, XFS and Silicon Image 3112 cause oops.

From: Steve Lord (lord_at_xfs.org)
Date: 09/14/04

  • Next message: Alan Cox: "Re: [patch] sched: fix scheduling latencies in mtrr.c"
    Date:	Tue, 14 Sep 2004 09:12:09 -0500
    To: alistair@devzero.co.uk
    
    

    Alistair John Strachan wrote:
    > On Tuesday 14 September 2004 09:14, you wrote:
    >
    >>
    >>Was 4KSTACKS enabled in those kernels (I think so)? - XFS
    >>has one known problem with that option when running low on
    >>space (patch fixing that is being tested atm) and I think
    >>the reiserfs folks had some 4k stack issues as well at one
    >>point, so that might be another explanation.
    >>
    >
    >
    > Just out of interest, how low is "low space"? I've got a few machines I can't
    > reboot running XFS+4K stacks; no problems so far but I'd like to sidestep
    > them if possible.
    >

    You would need to be within the size of the physical memory of your
    box to having a full filesystem - as a very rough approximation. So 1Gbyte
    memory, 1 Gbyte disk free. There is a path when XFS is attempting to
    free up pre-reserved disk space to make room for a new write, it
    does this by flushing data out to disk. This means it has to work
    out where it is physically going to go, which usually results in it
    taking less metadata space to reference the data than the worst case
    estimate it previously made. For lots of cases this probably still
    does not overflow the stack, but if you add in drivers like lvm
    and md and a complex scsi driver it probably pushes you over the
    limit.

    In general though, I would rebuild without the 4K stacks and at least
    have the kernel ready for a convenient reboot.

    Steve
    -
    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/


  • Next message: Alan Cox: "Re: [patch] sched: fix scheduling latencies in mtrr.c"

    Relevant Pages

    • Re: hard disk faster than main memory?
      ... > sophisticated numerical algorithm working on stacks. ... For sometimes our stack size ... > writing everything to hard disk is faster than the stack implementation ... A random I/O operation to disk is usually ...
      (comp.programming)
    • Re: What is the volume driver?
      ... storage stack' while disk is the top of the 'lower storage stack'. ... DEVICE_OBJECTs that represent partitions ... If you want to make a distinction between disk and volume management, ...
      (microsoft.public.development.device.drivers)
    • Re: BSOD: Stop: 0x00000024 from ntfs.sys with Norton Ghost
      ... Only registers and stack trace are available ... Norton Ghost could no longer backup my C drive and started reporting ... scan and it said my disk was failing. ... You may need to update Quicken driver? ...
      (microsoft.public.windowsxp.general)
    • Re: LVM2
      ... XFS is an SGI project. ... >>Disk size: What are you doing with it. ... >>>Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 3ware 9550 using 3w-9xxx driver lockups ?
      ... other drives on other machines are reallocating sectors as well). ... Are you running the latest 3ware firmware for that controller? ... Vendor: AMCC Model: 9550SX-4LP DISK ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)