Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: Steve Huston <huston@see.mro.dec.com>
Subject: Re: Digital unix slow as a wet week?
Date: 1996/11/13	[thread overview]
Message-ID: <328A10FF.794B@see.mro.dec.com> (raw)
In-Reply-To: 569118$at9@status.gen.nz


Chris Pugmire wrote:
> 
> Hi, I hope that got someones attention.
> 
> I have a 'c' program, that writes a lot of files to a lot of
> directories, using  'open', 'close' 'write'  calls.
> 
> On intel linux it runs 6 times faster than on digital unix v4.
> 
> Can anyone tell me why, it appears that digital unix is blocking the
> process while it writes the files but linux does not.  Is there some
> tuning parameter to fix this, or some option in the c libraries?

From the write(2) man page on Digital UNIX:

  If the O_SYNC flag of the file status flags is set and the filedes
parame-
  ter refers to a regular file, a successful write() function does not
return
  until the data is delivered to the underlying hardware (as described
in the
  open() function).

I'm not sitting near my Linux box, so I can't check that one, but it's
one hint anyway.

-- 
Steve Huston                              On contract to Digital
TCP/IP, CORBA, DCE consulting and apps    COHESION SEE Engineering
Internet:   shuston@ultranet.com          huston@see.mro.dec.com
(508) 384-5708                            (508) 467-4771



      parent reply	other threads:[~1996-11-13  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-12  5:00 Digital unix slow as a wet week? Chris Pugmire
1996-11-12  5:00 ` Mike Iglesias
1996-11-12  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-11-13  5:00 ` Steve Huston [this message]
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