tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Large number of files in Advfs
@ 1995-05-11 14:28 Ole.Troan
  0 siblings, 0 replies; 2+ messages in thread
From: Ole.Troan @ 1995-05-11 14:28 UTC (permalink / raw)
  To: tru64-unix-managers


We're testing a Alpha with OSF/1 3.2a as a news server. News spool
is configured on top of an Advfs domain, and the size of the fileset
is about 8GB.

Default Advfs can't handle more than 50.000 files. For news this is
way to low. In 3.2 you can raise the metadata exten size with option -x
to addvol and mkfdmns. I raised this to the highest value described
in the Release Notes (which sayes that this value gives me 200.000
files
and more). A test shows me that I can't store more than 800.000 files.
I could probablby raise the metadata exten size even more,
but how would this affect performance?

I need to have more than 2.000.000 files on one fileset. If this
is not possible with Advfs, do DEC have any other options?
I don't want to use UFS over LSM, as it is very cumbersome to add more
disks.

Thanks in advance
Ole Troan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Large number of files in AdvFS
@ 2002-03-18 16:17 rob.leadbeater
  0 siblings, 0 replies; 2+ messages in thread
From: rob.leadbeater @ 2002-03-18 16:17 UTC (permalink / raw)
  To: tru64-unix-managers


Hi managers,

I had hoped that upgrading to 5.1A (from 4.0F) would solve issues that we 
had with AdvFS handling lots of small files, however it would appear that 
there are still issues, despite what I'm reading in the man pages...

I have a single volume domain, consisting of (currently) 9 file sets. The 
volume is 180GB, RAID-5, provided by a HSG80 Fibre channel controller.
Each file set, contains a months worth of data, with the data for each 
day being held in a separate directory, and then each day being split up 
again into 100 directories, to prevent there being too many files in a 
single directory.

So for example, for February i've got:

/images/2002/02/ {01-28} / {00-99}

/images/2002/02 is the mount point for the file set image_r1#2002-02.

Each directory at the bottom of the tree contains approximately 1200 
files, with file sizes ranging from 1KB to 10KB.

To populate the data, I'm currently copying the files over from our live 
system. As the number of files in the domain increased, performance 
dropped off considerably, until the stage, where one of the copy 
processes was taking up 98-99% of CPU, making the machine essentially 
unusable.

Having had similar issues under 4.0F, which were worked around by 
specifying the -x and -p options to mkfdmn, I've had a quick look at the 
special files in the .tags directories of each fileset. (output at end) 
The large number of extents being shown in M-10 is presumably what is 
causing the issue, but how to fix / prevent it ?

Having got the luxury of a second identical 180GB volume to play with, I 
tried creating the filesets with the nofrag option set. This appears to 
prevent the large number of extents, and I don't get the performance 
hits. However for the same number of files I'm using nearly double the 
amount of disk space with each file taking up a minimum of 8KB, so this 
isn't a long term option.

Could someone give me some hints as to how best to configure things.


Regards,

Rob Leadbeater


# showfile -x M-6

         Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  I/O   Perf  File
fffffffa.0000    1    16     74    simple    **     **  ftx     7%  M-6

    extentMap: 1
        pageOff    pageCnt     vol    volBlock    blockCnt
              0          1       1          32          16
              1          1       1   154427264          16
              2          1       1   167214720          16
              3          1       1   337188336          16
              4          1       1   192687696          16
              5          1       1   227443408          16
              6          1       1   331138000          16
<snip>
            70          1       1   313102272          16
             71          1       1   320029040          16
             72          1       1   327788656          16
             73          1       1   334896688          16
        extentCnt: 74


# showfile -x M-10 | pg

         Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  I/O   Perf  File
fffffff6.0000    1    16 568747    simple    **     **  ftx    81%  M-10

    extentMap: 1
        pageOff    pageCnt     vol    volBlock    blockCnt
              0          1       1          48          16
              1          1       1   142199920          16
              2     463744       1   142208128     7419904
         463746         47       1   283798720         752
         463793         81       1   149628032        1296
         463874         27       1   198649200         432
         463901         27       1   209264512         432
         463928         27       1   236569312         432
         463955         27       1   301503296         432
<snip>
         568719          6       1   342612384          96
         568725          2       1   342612496          32
         568727          2       1   342612544          32
         568729          4       1   342612592          64
         568733          4       1   342612704          64
         568737         10       1   342402816         160
        extentCnt: 14525



This message is intended only for the use of the person(s) ("The intended
Recipient(s)") to whom it is addressed.  It may contain information which
is privileged and confidential within the meaning of applicable law.  If
you are not the intended recipient, please contact the sender as soon as
possible.  The views expressed in this communication are not necessarily
those held by LYNX Express Limited.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-18 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-18 16:17 Large number of files in AdvFS rob.leadbeater
  -- strict thread matches above, loose matches on Subject: below --
1995-05-11 14:28 Large number of files in Advfs Ole.Troan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox