Re: ext3 File System Performance Issue



On Mar 23, 12:37 am, "LaBird" <wlcheung1...@xxxxxxxxx> wrote:
Dear all,

I am writing a program which generates lots of temp files,
and need to remove the unneeded ones (to save disk space)
during execution. Currently I put them into the /tmp directory,
but I found the performance very slow, especially during the
file remove phase when the number of files generated is large.
(Each file size is small, at a maximum of 16KB, though.)

What if you allocated your /tmp as a tmpfs mount?

.



Relevant Pages

  • Re: ext3 File System Performance Issue
    ... |> I am writing a program which generates lots of temp files, ... |> and need to remove the unneeded ones (to save disk space) ... WHat if your swap space is not large enough for it? ...
    (comp.os.linux.development.system)
  • Re: temporary files/settings
    ... My current setting is " use 64mb of disk space". ... >> Would it benefit me to change where WMP stores temp files? ... > Error message codes may be found searching there or via a general web ... Please deliver feedback to the newsgroup, ...
    (microsoft.public.windowsmedia.player)
  • Re: writing large files quickly
    ... >> Because it isn't really writing the zeros. ... >> files all day long and not run out of disk space, ... > need to have support for "sparse files", ... If your fs doesn't support sparse files, then you'll end up with a ...
    (comp.lang.python)
  • Re: [ANNOUNCE] Release Digsig 1.3.1: kernel module for run-time authentication of binaries
    ... prevent writing until execution completes. ... libraries. ... the selinux avc cache for use in the signature revocation cache. ...
    (Linux-Kernel)
  • Re: automatic creation of unwanted files
    ... it's doubtful that they're taking up all that much disk space - unless you ... BTW, if the temp files are still around after you close Word, then you ... "Suzanne S. Barnhill" wrote: ...
    (microsoft.public.word.docmanagement)