Re: ext3 File System Performance Issue
- From: "LaBird" <wlcheung1975@xxxxxxxxx>
- Date: Fri, 23 Mar 2007 16:45:59 +0800
Hi,
<ellis@xxxxxxx> wrote in message news:1174637029.926183@xxxxxxxxxx
In article <eu002s$kts$1@xxxxxxxxxxxxxxxxx>,
LaBird <wlcheung1975@xxxxxxxxx> wrote:
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.)
Have you consider that your design just might be the real
problem here?
Yes, I am trying to make some optimizations here. For example,
by merging a few files as one, and more importantly, put files
into different directories. But for the latter approach, I'd like to
know how many files should be put in one directory for optimal
performance. That's why I have the question in the 2nd paragraph
of my first thread.
But I cannot prevent writing files or removing them during
execution, because my application generates much data and the
problem size is large.
Best Regards,
LaBird (Benny).
[Remove all numbers for the actual email address].
.
- Follow-Ups:
- References:
- ext3 File System Performance Issue
- From: LaBird
- ext3 File System Performance Issue
- Prev by Date: ext3 File System Performance Issue
- Next by Date: Re: ext3 File System Performance Issue
- Previous by thread: ext3 File System Performance Issue
- Next by thread: Re: ext3 File System Performance Issue
- Index(es):
Relevant Pages
|