Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] how to tune reiser4 for millions of files?
- Date: Thu, 28 Jan 2010 18:59:57 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] how to tune reiser4 for millions of files?
- References: <20100128073847.GH13095@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2010-01-28 08:38 +0100 (Thu), Michal Hajek wrote: > ...by producing 7032034 small text files into one directory. > ... > Still `ls -l` takes more than 6 hours - more accurately, after 6 hours > I lost my patience and killed it. Um, "dont' do that"? "ls -l" is going to read every inode, so of course it's going to take quite some time. You can expect your analysis program to take quite some time to run, too, regardless of whether you have all the files in one directory or split them amongst many directories. > Now we need to analyze that data "en block", that is, we > cannot split it into many dirs. You probably just want to tweak your analysis program to do a readdir() and then just trawl through the files in whatever order you get them. I can provide more ideas if you tell us more about what sort of analysis you're trying to do. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 http://www.starling-software.com The power of accurate observation is commonly called cynicism by those who have not got it. --George Bernard Shaw
- Follow-Ups:
- Re: [tlug] how to tune reiser4 for millions of files?
- From: Michal Hajek
- References:
- [tlug] how to tune reiser4 for millions of files?
- From: Michal Hajek
Home | Main Index | Thread Index
- Prev by Date: [tlug] how to tune reiser4 for millions of files?
- Next by Date: Re: [tlug] how to tune reiser4 for millions of files?
- Previous by thread: [tlug] how to tune reiser4 for millions of files?
- Next by thread: Re: [tlug] how to tune reiser4 for millions of files?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links