Re: lseek/write



On Nov 19, 7:39 pm, golden <i...@xxxxxxxxxxxxx> wrote:

What I am trying to determine is why my writes are faster to my local
disk than to my SAN ( all things being equal) .

I have no idea what you mean. How are you measuring? How much faster?

If I remove the
fsync, my write is faster to the SAN.

Faster than with the 'fsync'? Or faster than to the local disk?
Measured how? By how much?

I assume that the OS handles
the writes far more effeciently in this case. When I fsync after each
write i remove any performance enhancements the OS can provide. So
The only conclusion I can come up with is that there are more hops to
the SAN. The transfer from memory to local disk cache is faster than
the fiberchannel path.

Or your local disk is not really supporting the 'fsync' (for example,
committing it only to the disk's buffer cache) and your SAN is
respecting it (fully committing it to permanent media before allowing
your program to continue). I would have to see your evidence to
support your conclusion.

DS
.



Relevant Pages

  • Re: lseek/write
    ... disk than to my SAN. ... fsync, my write is faster to the SAN. ... The transfer from memory to local disk cache is faster than ...
    (comp.os.linux.development.system)
  • Re: lseek/write
    ... My user is complaining that his writes to SAN are slower than local ... I ran the test writing 800 bytes 50000 times. ... Local disk took ~40 ... What's missing is any evidence or proof that the affect of 'fsync' is ...
    (comp.os.linux.development.system)
  • Re: How to verify/fix High Disk Read Latencies in Exch2003 ?
    ... Exchange production servers are, the SAN is an EMC CX600. ... >>> current log file on disk and continues until data in the log buffers ... Comingling occurs whe two or more LUNs reside ...
    (microsoft.public.exchange.admin)
  • Re: Ext4 and the "30 second window of death"
    ... A - Writing data to disk immediately and lose no work at all, ... application uses fsync, right?). ... The problem comes when you have lots of applications open on the ... in order to save power. ...
    (Linux-Kernel)
  • Re: HP EVA4000 / IBM DS4300 / EMC CX3-20/40
    ... disk array with the virtual raidsets on top. ... So, the system admin, and the DBAs had to create and manage lots of ... separate LUNs and *manually* manage the performance among them to ... applications on the SAN. ...
    (comp.arch.storage)