🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36597

Re: expire question.

#36597
From: nash
Date: Thu, 15 Apr 1999 00:00
42 lines
2407 bytes
Just a note on Solaris 2.7,  use ufs logging and disable accesstime
updates and things really improve.  Increasing the number of files from
9,999 to 99,999 only increased the times slightly over 10 fold.

Arthur Hagen (art@flying.broomstick.com) wrote:

: Here's a quick and dirty example:

 HP-UX 10.20,  IRIX 6.5,  Solaris 2.7  Solaris 2.7    Solaris 2.7
 HP9000/D230   O2 R5000   Ultra-250    Ultra-450      99,999 files!
 vxfs          xfs        ufs          ufs, noatime   ufs, noatime
                                            logging        logging
: % mkdir tmp; cd tmp
: % timex perl -e 'for ($i=0;$i<9999;$i++) {open(FILE,">$i");seek(FILE,rand 32000,1);print FILE "x";close FILE}'

 real 7:12.90  2:53.34    5:45.09      0:33.79        51:07.98
 user    4.27     2.15       1.97         0.71           12.54
 sys    58.58    19.18      38.27        28.31         2657.37

: % timex ls -l >/dev/null

 real   10.28     5.72       3.48      0:02.32         0:29.14
 user    2.14     2.41       1.98         1.93           20.23
 sys     2.28     2.85       0.68         0.35            8.07

: % timex sh -c "find . -type f -print | xargs rm"

 real 3:12.63  1:45.00    4:08.38      0:45.69         6:30.18
 user    1.05     0.30       0.63         0.24            3.88
 sys    30.82    12.47       8.48         4.54          340.15

: Increase the number of files, and the difference becomes even more appearent.
: Some half a million files (like control.cancel), and vxfs becomes totally
: unusable.  Even the ~25k overview dirs and files give it some trouble.

--
     _ ___,;;;/  | Ron Nash (nash@sdsu.edu) San Diego State University
  ,;( )__, )~\|  | 
 ;; //   '--;    | Gin-N-Tonic   endurance horse
 '  ;\    |      | Luv on Fire   trusty trail horse

Technical Details
Message-ID: <7f55eo$t83$1@gondor.sdsu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <fapve7.kn1.ln@vikes.dynip.com> <7EpdNM0Hw-B@khms.westfalen.de> <m3c3f7.gsu3.ln@flying.broomstick.com>

Show Full Headers
Complete Article Headers
Message-ID: <7f55eo$t83$1@gondor.sdsu.edu>
Subject: Re: expire question.
Date: Thu, 15 Apr 1999 00:00:00 +0000
From: nash@rohan.sdsu.edu (nash)
References: <fapve7.kn1.ln@vikes.dynip.com> <7EpdNM0Hw-B@khms.westfalen.de> <m3c3f7.gsu3.ln@flying.broomstick.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 466776027
Organization: San Diego State University
Newsgroups: news.software.nntp