1752282 Members
4878 Online
108786 Solutions
New Discussion юеВ

SAN vs Local Disk

 
George Selleck
New Member

SAN vs Local Disk

We ran a series of read/write tests on an N class machine - HP-UX 11.0, TachLite FC HBA model A5158A, not fabric,Brocade switch
- and found that local disk (7200 rpm) r/w a 1 GIG file faster than the SAN.

Did we miss configure something ? Fiber card? Switch? Wait for Fabric?



6 REPLIES 6
Michael Tully
Honored Contributor

Re: SAN vs Local Disk

Hi,

What method of recording was done to gather
this information. If you are using sar -d
it will not give an accurate reading because
of the caching in the SAN.
One thing to remember is that fabric is better than loop.

-Michael
Anyone for a Mutiny ?
Edward Borst_2
New Member

Re: SAN vs Local Disk

how does your SAN configuration look like??
how is the lun where you did the test configured??

Re: SAN vs Local Disk

Did you wrie to raw disk, or to a file system?

Anything to a file system would most likely be skewed by the buffer cache...


HTH

Duncan

I am an HPE Employee
Accept or Kudo
Deshpande Prashant
Honored Contributor

Re: SAN vs Local Disk

HI
With SAN you envolve more devices (switches/bridges).
The advantage of using SAN being more flexibility and growth. If you have more numbers of disks locally attached against going via SAN , SAN might show performance improvement against just single disk.

Thanks.
Prashant.
Take it as it comes.
George Selleck
New Member

Re: SAN vs Local Disk

1) The SAN was setup with RAID5 (3 disks) - RAID0 was even slower

2) File system not raw, loop is used right now - fabric later

3) Tests done
write test
timex cat gig1 > /san/gig1
read test
timex cat /san/gig1 > /dev/null

Re: SAN vs Local Disk

As I said previously, any test on a file system is fairly meaningless, as you are really just exercising the buffer cache after the first run... A better test would be to use dd to copy from an lvol on the SAN to /dev/null, and compare this with dd from a local lvol (same size) to /dev/null - don't do it the other way round if you have anything in your lvols - to make the test 'meaningful' use a blocksize the same as one of your filesystems (usually 1k for VxFS file sytstems)

Other points worth remembering:
- Are you comparing like with like? What are the disks attached via the SAN?
- These tests are only giving you results for sequential reads/writes - many applications do not have this kind of profile anyway.
- If you are on a FCAL loop, then remember you are sharing the 100MB/s bandwidth with other devices on the same loop.

HTH

Duncan

I am an HPE Employee
Accept or Kudo