Re: lseek/write



On Nov 23, 9:26 pm, golden <i...@xxxxxxxxxxxxx> wrote:

Hi.
My user is complaining that his writes to SAN are slower than local
disk.

His evidence doesn't support this.

He provided me a program to test this, I modified it and am
including it below. I ran the test writing 800 bytes 50000 times.
When I wrote to SAN, it took ~ 60 seconds. Local disk took ~40
seconds. If I remove the fsync, the overall operation is faster to
SAN than to local disk.

What's missing is any evidence or proof that the affect of 'fsync' is
the same on the SAN as it is to the local disk. If, for example, the
local disk is ignoring the 'fsync' or only committing the data to the
disk's cache while the SAN is committing it to permanent storage, your
user is comparing apples to oranges.

In any event, his test is kind of silly. If you use 'fsync' that much,
it would be because performance was not important.

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: 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: lseek/write
    ... disk than to my SAN. ... How are you measuring? ... fsync, my write is faster to the SAN. ...
    (comp.os.linux.development.system)
  • 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)
  • Re: How to verify/fix High Disk Read Latencies in Exch2003 ?
    ... Do they all map LUNs to your SAN? ... > wondering how the disk could be highly utilized if I have no users ... >> following formulats for the RAID type of each LUN: ...
    (microsoft.public.exchange.admin)