Date: Fri, 30 May 2003 03:04:05 -0500 (EST) From: Bingrui Foo <foob@purdue.edu> To: freebsd-questions@freebsd.org Subject: About reading and writing to files Message-ID: <Pine.SOL.4.51.0305300301180.4396@herald.cc.purdue.edu>
next in thread | raw e-mail | index | archive | help
Hi, I'm wondering in freeBSD, if I have a directory with 10,000 files, or maybe even 100,000 files, each about 5 kb long. Wondering will reading and writing to any one of these files in C be affected by the sheer number of these files? Will the access time be affected significantly? Just wondering because not sure whether I should put these data in a database or just use files with unique names. Also will separating the files into many directories help? Thanks. Foo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.51.0305300301180.4396>