Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "bofh00" <jnielsen@aero-graphics.com>
Subject: Re: ADVFS and fragmentation.
Date: Fri, 01 Aug 2003 11:53:29 -0600	[thread overview]
Message-ID: <pan.2003.08.01.17.53.28.327019@aero-graphics.com> (raw)
In-Reply-To: pan.2003.07.31.15.26.09.873603@aero-graphics.com

One oddity I have noticed relates to raster files. We regularly
deal with large imagery 100mb-1gb. These files no matter how
fragmented the system becomes tend to remain fairly contiguous and
according to "showfile -x" retain their Advfs I/O effeciency and
keep a lower number of extents. This does not apply to most data
generated from these images.

We also generate pyramid data sets of the images which basically
are the same image but resampled to multiple resolutions
all contained within one file. Each "level" if you will is used
for zooming into the image. These pyramid files themselves always
have extrememly poor Perf and Extents listings according to
"showfile -x".

The raster files are scanned on a remote station that dumps them
to the raid via NFS.  The pyramid layers are generated locally.
I do no understand why the images sent via nfs seem to be highly
resistant to fragmentation(?) and yet those pyramid files are not.

24_005 if a TIFF file. The _128 is a pyramid file of this same
image. The 24_005 TIFF was scanned to the raid and the _128 pyramid
was generated literally right after within the same 60 seconds.
-rw-rw-r--   1 foobar  users    363918990 Jul  7 13:09 24_005.tif
-rw-rw-r--   1 foobar  users        65766 Jul  7 13:09 24_005.tif_128
[root@zeus]$ showfile -x 24_005.tif
         Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  I/O   Perf  File
   4de.8002    1    16  44424    simple    **     **  async  99%  24_005.tif
[root@zeus]$ showfile -x 24_005.tif_128
         Id  Vol  PgSz  Pages  XtntType  Segs  SegSz  I/O   Perf  File
   4ef.8001    1    16      8    simple    **     **  async  25%  24_005.tif_128

One thing to note in this case is how small the pyramid is. This
has little to no affect though. Some pyramids are 100MB with an
associated 500MB image and end up with a Perf rating of 13-20%
when created in the same manner. Also note that this can happen
with the system 80% empty and right after a full defrag/balance.

-Tru64 4.0f patch kit 7.
-ADVFS Domain version 3.
-Files are for the most part in two ranges.
  -1k to ~5meg (Comprises the majority of files)
     -Majority are less than 50k.
  -50mb to 1gb (Comprises the majority of space)
     -Majority are 150-300mb.

Typical File Stats:
Size         #Files  %Space
============|=======|==============
<=50K       |14208  |<1%      
>50k<=512K  |3043   |<1%
>512K<=5M   |599    |~1%
>5M<=100M   |864    |~22%
>100M<=300M |780    |~45%
>300M       |789    |~30%
Total Space Used: ~590Gigabytes ~80% of total capacity.

This is within 20 hours of a full defragmentation:
defragment: Gathering data for domain 'raid2'
  Current domain data:
    Extents:                2075761
    Files w/extents:           9557
    Avg exts per file w/exts: 217.20
    Aggregate I/O perf:         73%
    Free space fragments:     58852
                     <100K     <1M    <10M    >10M
      Free space:      1%      4%      6%     89%
      Fragments:    31435   23558    3050     809

[root@zeus]$ showfdmn raid2
               Id              Date Created  LogPgs  Domain Name
3d31c4ff.000e62be  Sun Jul 14 12:37:51 2002     512  raid2

  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name 
   1L  355486275    44359440     88%     on    256    256  /dev/rz25c
   2   355486275    67657936     81%     on    256    256  /dev/rz26c
   3   355486275    45449568     87%     on    256    256  /dev/rz27c
   4   355486275    85871568     76%     on    256    256  /dev/rz28c
      ----------  ----------  ------
      1421945100   243338512     83%




  reply	other threads:[~2003-08-01 17:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-31 15:26 ADVFS and fragmentation bofh00
2003-08-01 17:53 ` bofh00 [this message]
2003-08-02  2:43   ` Bob Harris
2003-08-03 13:26     ` Bob Harris
2003-08-04 14:24       ` bofh00
2003-08-02  1:23 ` Jack Patteeuw
2003-08-04 14:19   ` bofh00
read-only archive

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