[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::advfs_support

Title:AdvFS Support/Info/Questions Notefile
Notice:note 187 is Freq Asked Questions;note 7 is support policy
Moderator:DECWET::DADDAMIO
Created:Wed Jun 02 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1077
Total number of notes:4417

1056.0. "Direct I/O and sync I/O" by NQOS01::viper.lex.dec.com::coxt () Mon May 05 1997 16:23

A couple of questions,

Veritas (www.veritas.com), works with SUN to provide there "ADVFS" 
solution. Veritas is now offering a way to go direct I/O bypassing the 
buffer cache while still using a file system. Can we or will we do this 
with Advfs?

Does Advfs do sync or async I/O? I believe it is async, if true, can 
Advfs be set up to due sync writes?

Any tuning tips from a benchmark that will 
1)read in a 1GB file
2)perform a sort
3)then write a 100 to 200 GB file to disk
4)repeat steps 2-3 50 times

I am working with a consultant who would like to see Alpha's win the bid 
over Sun/EMC. He wins either way.

Tom Cox 
dtn 238-4305
coxt@mail.dec.com 


T.RTitleUserPersonal
Name
DateLines
1056.1KITCHE::schottEric R. Schott USG Product ManagementMon May 05 1997 21:4439
>
>A couple of questions,
>
>Veritas (www.veritas.com), works with SUN to provide there "ADVFS" 
>solution. Veritas is now offering a way to go direct I/O bypassing the 
>buffer cache while still using a file system. Can we or will we do this 
>with Advfs?

Part of the plan for steel.

>
>Does Advfs do sync or async I/O? I believe it is async, if true, can 
>Advfs be set up to due sync writes?

Open with F_SYNC option...you can do aio to advfs also, but it
uses threads currently...

>
>Any tuning tips from a benchmark that will 
>1)read in a 1GB file
>2)perform a sort
>3)then write a 100 to 200 GB file to disk
>4)repeat steps 2-3 50 times
>
>I am working with a consultant who would like to see Alpha's win the bid 
>over Sun/EMC. He wins either way.

What kind of storage are you planning to use...the EMC box will
most likely have 1GB of cache, so this may help a lot with hiding
some of the I/O.

Is this a custom written app?  What kind of machine?

>
>Tom Cox 
>dtn 238-4305
>coxt@mail.dec.com 
>
>
1056.2HSZ50's with 128mb cache?NQOS01::16.132.96.94::coxtTue May 06 1997 10:2212
Thanks for the first 2 answers.

I am not sure of the EMC config, but I'am sure it will have a lot of 
cache.

For the benchmark, I plan on a pair of HSZ50's with 128MB of cache. The 
customer requested a single RAID5 array of at least 8GB for the 
benchmark.
I am thinking of using 6 spindles, either RZ28 or RZ29's to use all of 
the HSZ50's channels.


1056.3SMURF::SCHANKTue May 06 1997 11:053
    Direct I/O will be available in AdvFS in the next release (steelos).
    All direct I/O writes are sync unless the kernel AIO interface is used.
    
1056.4chfile -l on NNTPD::"tmark@zk3.dec.com"Tim MarkTue May 06 1997 13:314
As of 4.0D (PTmin), files which have had "chfile -l on" run on them will
do ALL of their I/O in synchronous fashion until "chfile -l off" is run on
them.  This is regardless of what flags were used by the open() system call.
[Posted by WWW Notes gateway]