Re: stat speed

2006-02-18 Thread Eric Anderson
Eric Anderson wrote: Mark Bucciarelli wrote: On Sat, Feb 18, 2006 at 11:06:57PM -0500, Mark Bucciarelli wrote: I'm curious how fast stat is. I generated a list of 200,000 file names # find / | head -20 > files.statspeed then ran a million iterations of randomly picking a file name

Re: stat speed

2006-02-18 Thread Eric Anderson
Mark Bucciarelli wrote: On Sat, Feb 18, 2006 at 11:06:57PM -0500, Mark Bucciarelli wrote: I'm curious how fast stat is. I generated a list of 200,000 file names # find / | head -20 > files.statspeed then ran a million iterations of randomly picking a file name and stating it (see a

Re: stat speed

2006-02-18 Thread Mark Bucciarelli
On Sat, Feb 18, 2006 at 11:06:57PM -0500, Mark Bucciarelli wrote: > I'm curious how fast stat is. > > I generated a list of 200,000 file names > > # find / | head -20 > files.statspeed > > then ran a million iterations of randomly picking a file name and > stating it (see attached progra

stat speed

2006-02-18 Thread Mark Bucciarelli
I'm curious how fast stat is. I generated a list of 200,000 file names # find / | head -20 > files.statspeed then ran a million iterations of randomly picking a file name and stating it (see attached program). The run times were pretty consistent: 187,422 stats/second 189,059

Increase process number in FreeBSD 6.0

2006-02-18 Thread Thawan Kooburat
Hi I am using FreeBSD 6.0. My course assignment required me to increase process number running on a system. I have already modify /boot/loader.conf on following parameters kern.maxusers = 384 kern.maxproc = 5 kern.maxprocperuid = 5 But after reboot maxproc and max