* SUMMARY: ADVFS Performance
@ 2001-06-22 14:18 bryan.mills
0 siblings, 0 replies; 2+ messages in thread
From: bryan.mills @ 2001-06-22 14:18 UTC (permalink / raw)
To: tru64-unix-managers
My original post was as follows,
--------------------------------------------------------------------------=20=
--
" I am setting up a DS20 server (TRU64 4=2E0F) with a RAID Array 8000
attached using a HSZ80 SCSI controller=2E I have created a file domain
with a series of filesets mounted up using ADVFS to store large numbers
of small files=2E There will be a fileset for each month, and then a
directory beneath that for each day=2E Typically each daily directory will=20=
store 90,000 to 100,000 small files in it
When copying large volumes of data to these filesets I am seeing a very
noticable degredation in performance as the copy progresses=2E"
Several people noted that ADVFS is not very good at handling a large=20=
number files in this manner, it was suggested that this has been improved=20=
in V5=2E1=2E This upgrade is possible at the present time=2E Respondants also=20=
suggested converting to using UFS, and to pay particular attention to=20=
inode configuration=2E
The compaq guide for ADVFS notes some changes which can be made to the=20=
'makefdmn' syntax to try and eliminate the problem=2E
The location for this document is as follows,
http://www=2Etru64unix=2Ecompaq=2Ecom/faqs/publications/base_doc/DOCUMENTATION/H=20=
TML/ADVFS_html/figures/admin-chap2=2Ehtml#TofC51
Brenden Phillips suggested creating a deeper directory structure and=20=
storing files by the hour, rather than by the day=2E This led us to some=20=
testing where each file was stored in a sub-directory corresponding to=20=
the last two digits of the file name, so file 1223443201 goes to=20=
/2001/06/20/01, 1223443202 goes to /2001/06/20/02, and so forth=2E As the=20=
files are created with sequential numbers, this gives us a good even=20=
spread of files across 100 sub-directories=2E It was however noted that=20=
having the directory structure too deep could negate this improvement=2E
The performance benefits from this change have been quite staggering=2E=20=
An overnight job which copies the files onto the server was running=20=
until 8am each morning=2E It is now finishing before midnight the previous=20=
evening=2E
Thanks to all who responded=2E Looks like we have a good result on this=20=
one, with further avenues to explore if required=2E
Regards,
Bryan Mills=2E=20=
This message is intended only for the use of the person(s) ("The intended
Recipient(s)") to whom it is addressed=2E It may contain information which
is privileged and confidential within the meaning of applicable law=2E If
you are not the intended recipient, please contact the sender as soon as
possible=2E The views expressed in this communication are not necessarily
those held by LYNX Express Limited=2E
^ permalink raw reply [flat|nested] 2+ messages in thread
* SUMMARY: AdvFS performance
@ 2001-11-09 3:41 Alex Gorbachev
0 siblings, 0 replies; 2+ messages in thread
From: Alex Gorbachev @ 2001-11-09 3:41 UTC (permalink / raw)
To: tru64-unix-managers
I've run database queries that timestamped the file retrieval and as it
seems, AdvFS is not a problem in this case. I also ran a "find . -exec
time sum {} \;" and got excellent response times. It seems, the problem is
somewhere else, in Oracle or network.
Many thanks to Dr. Thomas.Blinn, Udo de Boer, Lyndon Handy and Nemholt,
Jesper Frank. I've included some general information from replies that may
be of interest to those trying to resolve a similar issue.
>3 very important parameters to look at when tuning a very high performance
>Oracle database on TRU64 Unix (I tuned them for years).
>
>1) db_file_multiblock_read! Check this and set it properly to manage the
>32k chunk sizes you mentioned. TRU63 unix handles 128K per I/O max size,
>you 32k x db_file_multiblock_read should = 128K exactly if properly tuned
>
>2) check you Oracle database logs to determine if/when checkpoints are
>happening. Do they correlate?
>
>3) Monitor the memory and ubc system metrics carefully with vmubc and pay
>careful attention to the file system cache size for UBC. You may have to
>reduce ubc_max_percent dramatically on a large-memory system to ensure there
>sufficient free memory on the system, ~ 2 or 3% value on an 8GB system, less
>if using raw partitions. Adjust the other corresponding ubc parameters
>accordingly
>How are the files organized ? (many files in a few directories or few files
>in many directories)
>
>Try running Collect (/usr/sbin/collect) with a frequency of 10 seconds
>during a period where you have the problem.
>Afterwards you can see in the Collect data if anything special (memory,
>disk, cpu) happened in that period.
>
>Be sure to get the latest Collect. The one present by default on a 5.1 PK3
>has a bug related to the memory statistics.
Thanks
Alex Gorbachev
>Managers,
>
>I am trying to pinpoint a source of intermittent slowdowns on a 300 GB AdvFS
>domain with over a million files - GS160/Tru64 5.1 PK3. Overall performance
>is good but every once in a while a file takes a long time to retrieve (from
>30 seconds to 10 minutes).
>
>Any insight on troubleshooting/tuning?
>
>Thank you,
>Alex Gorbachev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-09 3:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-09 3:41 SUMMARY: AdvFS performance Alex Gorbachev
-- strict thread matches above, loose matches on Subject: below --
2001-06-22 14:18 SUMMARY: ADVFS Performance bryan.mills
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox