|
The SageTV Community Here's the place to discuss what's worth recording, HTPC deals at retail stores, events happening outside of your home theater, and pretty much anything else you'd like. (No For-Sale posts) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Just how "Fast" can network storage be?
Some of you will probably know I'm a reasonably big fan of networked storage, keep all your files/data that the PC doesn't depend on (music, photos, videos, documents etc) out on networked storage, keeps it out of the PC in case something happens, makes it easily accessible from multiple machines, you can do whatever on the PC without worrying about your data availability to other machines.
I'm also a fan of Infrant's (now Netgear's) ReadyNAS line for how they're reliable, have a good feature set, etc. And now with the advent of reasonably priced SSDs and their massive performance differential vs traditional discs for OS/scratch discs, but limited size, it seems to make more sense than ever to keep everything but scratch/transitory data on a network share, and have SSDs in the work PCs for local/scratch data. However one thing I've become increasingly aware of is how my now old ReadyNAS X6 is rather long in the tooth and just doesn't have that great of performance anymore. Generally performance is acceptable, I can play BD rips off it, stream music, but that's really it. What prompted this thread is I'm trying to do a few things on my NAS at the moment, first is I'm trying to sort through some of my digital photos, while doing that I've got music playing, and in the background I'm trying to copy a VM image back onto a local disk. What's the problem? Well the pictures are far from "snappy" loading, and the music will hickup/glitch occasionally when I open a new picture, and the image is just not copying very fast. The other prompt is I've been looking to upgrade my Sage server for a while (I've got some extra hardware laying around that's screaming for a new home and to be put to use ). So the question is, just how fast can network storage really be? And I don't just mean raw, sequential read/write, I mean in real use, how close, with GigE lan, can network storage come to the local equivalent? I'm looking for any real world tests/experiences the community here might have. FWIW, I just threw together a quick experiment, I've got an OCZ SSD in my desktop as the OS drive plus a temp/scratch partition. I've also got IO meter so I thought this is the most objective way to do a comparison. So I've run IOmeter on the same parition, once direct to the drive letter, and once to the mapped drive of the same partition's network share. Here's what I've found: Using Infrant's test iometer config (basically 256k sequential read/writes) I get: Local Read - 220MB/sec Local Write - 125MB/sec Local Latency ~ 2ms (io response time) "Network" Read - 210MB/sec "Network" write - 125MB/sec "Network" Latency ~ 2ms So far so good, no appreciable difference. But like I said above, I'm curious about random access and simultaneous access. So here's 2k random read/write (stock 2k Rnd access specifications): Local Read - 16.5MB/sec Local Write - 2.9MB/sec Local Latency - 0.12ms (0.65ms write) "Network" Read - 14.4MB/sec "Network" write - 2.8MB/sec "Network" Latency ~ 0.13ms (0.70ms write) Still looks pretty good, it's clear CIFS imparts some overhead, but it doesn't appear to be anything significant, that's good news too. But what about that simultaneous access, here's the stock 5/5 Seq Read/Write 256K access specification: Local Read - 35MB/sec Local Write - 35MB/sec Local Latency - 3.4ms "Network" Read - 35MB/sec "Network" Write - 35MB/sec "Network" Latency - 3.5ms Again, more promising news. And now before you jump me I know what you're going to say, that's not a real "network" test because even though I'm using a network share, it doesn't actually go out on the network interface (that's why network above is in quotes ). The above I think just shows that CIFS itself isn't a big problem. Unfortunately I don't have a spare Core i7 machine or a spare SSD so I can't do a real apples/apples comparison, but what I can do is run iometer on my Sage server (Windows Server 2003, Athlon XP 1800) to the shared SSD and see what I get: 256K Sequential Network Read - 45MB/sec Network Write - 65MB/sec Network Latency - 5.5ms (3.7ms write) 2K Random Network Read - 5.5MB/sec Network Write - 7.7MB/sec Network Latency - 0.31ms (0.25ms) 5/5 Seq Read/Write 256K Network Read - 26MB/sec Network Write - 26MB/sec Network Latency - 4.7ms That's more what's expected, sequential throughput is way down, but 100MB/sec is about the theoretical max of GigE, and I think with the hardware I'm running, I only get about 600-700Mbps between those machines even with iperf. The random access is down by about half, but still WAY faster than a standard HDD, and the simultaneous access is only off by a quarter to a third. Just as an example I've got a 74GB WD Raptor (10k RPM) and in the same 2k Random test, it can only manage 0.35MB/sec Read (0.75MB/sec write) with 5.2ms (2.5ms write) latency. So judging from the data, it seems that a GigE network doesn't affect disk performance much at all until you hit the throughput limits of the link. So it seems I really should be able to get close to "local" disk performance out of network storage. So the question is, anyone out there really played with it and managed success as should be theoretically possible? Or do the above experiments miss some significant thing htat makes it impossible? |
#2
|
||||
|
||||
Very interesting writeup. I too am toying with a couple of technologies in the near future. I just ordered two Phenom rigs, to start my ESXi farm, and am toying with the iSCSI idea. I have an Ubuntu server with all of my RAID drives, and would rather just add more disks to it than order drives and RAID cards for my ESXi boxes, since it would be way cheaper. If performance as an iSCSI target is not good, then I will have to do the latter. SSD's are still way out of my pricerange for storage. They are just now getting into the range of making OS drives affordable for me.
I have seen recently that if I launch two Comskip processes from two different servers, while SageTV is trying to record to my Ubuntu Server, four different shows, and playback at the same time, I too see issues. Once I killed Comskip, these problems went away. It must do some pretty heavy thrashing over the network.
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#3
|
|||
|
|||
From server to server at my office, we have been able to saturate a gb connection (or close to it approx 900mbps), but that required sequential reads/writes to and from RAID 5 arrays. The real problem are mechanical hard drives are not fast enough to read/write by themselves. Even the fastest hard drives on the market are still only table to sustain around 80MB/s on consecutive reads and around 60-70MB/s writes. This means that in a standard server/client environment the clients become the limiting factor as the above numbers only equate to 480-640mpbs (since the generally only use single hard drives). In non-sequential writes, depending on the size of the file, it becomes very difficult to saturate the Gigabit connection especially in a home network environment. Even my RAID 5 can't saturate my gigabit connection if I do non-sequential writes (granted right now I am only using a 4 drive configuration as opposed to say the 20 drive configurations we use at work).
SSD's will/do change the above comments, but unfortunately due to price/size, I have yet to play with them much as size wins out to speed on most things at home and at the office (our server guys don't get called if it takes 30 seconds to copy a GB of data to the file servers, but they do get called if there isn't room!). I would love to build a huge RAID 5 array with SSD's to see what the performace would be like (I believe Anandtech.com or tomshardware.com did this very thing a few months back). I guess what I am trying to say, from a home environment it would be difficult to saturate the GB connection. Hard drives begin to be the biggest bottle neck and not so much the connection speed. Saturating a 100mbps network is not difficult even with non-sequential read/writes, but until SSD's become the norm as opposed to the exception, I don't see gigabit networks being the bottleneck (and frankly I'm not pulling new cable throughout my house to accomplish 10gb).
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter Last edited by paulbeers; 11-02-2009 at 08:11 AM. |
#4
|
||||
|
||||
It started out I was just going to ask the question if anyone had had "local" level performance from network storage, but kind of evolved from there
Quote:
I found it interesting that even over the network, asside from raw throughput the network wasn't a bottleneck. Quote:
Quote:
My investigation gives me hope that if/when I rebuild my Sage server, if I pay attention to building a fast storage subsystem, it will be essentially as fast for network computers as it would be if I were using it locally. |
#5
|
|||
|
|||
I've found part of it has to do with the hosting OS. For quite some time I had been using FreeNAS to build my own. I was getting nowhere near gigabit speeds when transferring files to and from. At the time I assumed it was due to the limitations of the individual drives as I wasn't using any kind of RAID. After some experimentation and deciding to move my storage back to my Sage server I determined that the FreeBSD network stack just isn't very good.
With FreeBSD, according to the AddGadget Network Meter, I would NEVER get transfers above 45MB/s with FreeNAS. I would usually get around 25-35MB/s with it rarely going as high 45MB/s. Now that I've moved my storage back to my SageTV server, which runs XP Pro SP3, transfers now peak at around 110MB/s with usual transfers in the 65-85MB/s range. When moving around 5-7GB files this can actually make a pretty huge difference in transfer times. Both computers I'm using have Intel NIC's in them. One is an integrated Intel PHY and the other is a PCIe x1 NIC with only a single gigabit switch and CAT6 between the two. This is probably as near to ideal as I can get on a tight budget.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#6
|
||||
|
||||
From the description of your setup, you may be giving the windows network stack too much credit.
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#7
|
|||
|
|||
Quote:
But as you already know, there are a lot of factors involved, such as the quality of your network switch and/or router, your basic Cat-5E cables & connectors, your computer's NIC, your NIC driver, your Operating System, your computer's CPU & amount of RAM, and even mundane things like what your other computers on your network are doing (and how many other computers there are). Couple years ago I played with ReadyNAS NV and Buffalo Terrastation, but I ended up just building my own rackmount Linux servers with 8-drive, RAID-5 system. For SageTV, I'm using a WHS box with 8-drives. It is now my NAS device for all intents and purposes, and it works fast enough for Photos/Music/TV Shows/Videos. But I would never put my VM images on it - for that I use my Linux boxes. I guess over the years I've learned that it's best to put the disks in the computer that will use it the most. And make sure you have good quality hardware. Then you can enjoy more and worry less. But I still love to tinker with things. |
#8
|
|||
|
|||
Quote:
I think in general (i.e. un-tweaked/patched) Windows Vista networks better with other Windows systems, when compared to Linux/FreeBSD/Solaris systems using SAMBA. |
#9
|
|||
|
|||
Quote:
Granted, my FreeNAS server was using an Intel PCI gigabit NIC. I had originally planned to use the onboard Realtek PCIe chip but discovered after trying to set it up that there were no pre-compiled FreeBSD drivers for it. Later on I acquired a pre-compiled driver for the onboard PCIe chip but soon figured out that performance using it was actually worse than the PCI Intel. So no, I'm not giving the Windows stack too much credit. It really does perform better than the FreeBSD stack. Every comparison I've ever seen on the internet that compares network performance between Windows, Linux and FreeBSD seems to confirm it.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#10
|
||||
|
||||
One thing I've been going back and forth on is whether or not a RAID-5 array or a server running WHS drive pool would be faster. Now it seems that it wouldn't matter. Am I right? I just need a reliable way to keep my files safe, and preferably be able to access them as quickly as possible.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#11
|
||||
|
||||
Quote:
Of course with WHS and Drive Extender with it's balancing, it's more complicated, I just found this review: http://www.vistaforums.com/Forum/Topic11228-8-1.aspx It appears performance plummets precipitously once you start going into storage balancing. The other thing is if you look at some RAID-5 benchmarks, with a good controller a RAID-5 array is very fast, even for simultaneous users/random access. |
#12
|
||||
|
||||
Quote:
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#13
|
|||
|
|||
Quote:
One of the decisions we have been toying with at my office (and by toying I mean if we had the resources to do it all over again) is to rid ourselves of multiple file servers and instead going to a SAN. Basically we would build virtual servers (4-8 core Intel Xeon 55X0's) and then have all the storage in one place. This of course would be connected via fiber as we would bottleneck the our throughput between our SAN and the virtual servers. The point I am making is that if you have fast enough storage on a network server and a gb (or better) connection, you will not notice a difference (as stated the best hard drives now only pull off around 640mbps). So I assume you are thinking about going with smaller SSD's and then using network storage as your "bulk" storage for your "client" pc's rather than having large hard drives in each one?
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter |
#14
|
||||
|
||||
Quote:
Basically I've got my desktop (Core i7+SSD, 60GB) that I use for general stuff, surfing, and any CPU intensive work I decide to play with. Also does my commercial detection. Then there's my laptop (which I'm thinking of swapping the HDD for an SSD). Finally on the "PC" front, is my SageTV server which is an old Athlon XP and originally held all my "mass" storage, a mix-match of left over drives plus an 8x250GB RAID-5 array (scary that I could replace that with a single HDD today and have space left over). I've also got a ReadyNAS X6 with 4x1.5TB drives. The server and ReadyNAS have worked well when just used to hold static data. Their performance has never been blistering but for just playing media it's generally been fine. But since getting the SSD for my desktop and having a mixed system with SSD and other drives, I've found that it's great except when something wakes the standard drive then the whole system grinds to a halt. Of course the other thing is it just seems "cleaner" to not have misc drives floating around my spare PCs. Anyway, since getting the SSD I've been wanting to get most storage out of my PCs, but to do that the storage has to be fast, at least close to as fast as using local drives. |
#15
|
|||
|
|||
I tried something basic like this at my house. Using 2 - 500GB drives in RAID 1 for our Pictures / Music / documents. It works great for my Sage Server and my desktops, but my wife and I spend most of our time on our laptops using wireless networking. Even using draft n, there becomes considerable latency from when a file is requested and when it is pulled up (large obviously depending on the size of the file). For anything hard wired there might be a fraction of a second additional latency, but it is virtually unnoticeable. The ironic part is that this solution would be perfect for laptops if the wireless networking didn't slow it down and, while I could hard wire my laptops, that kind of defeats their usablility.
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter |
#16
|
||||
|
||||
http://www.tomshardware.com/reviews/...l#xtor=RSS-182
Interesting article about drive speeds. Worth reading..
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#17
|
||||
|
||||
I didn't really read the whole thing, but what I saw wasn't surprising. The density of the recent, huge HDDs (1TB in teh test) is so dramatically higher than the older ones (320GB in the test) that for sequential reads/writes, even with slower rotational speed they're either just as fast, if not faster.
|
#18
|
|||
|
|||
I can attest to that. My RAID 5 is using Samsung 5400rpm 1.5TB hard drives. Before creating the RAID, I tested them to see how they compared to my WD 320GB 7200rpm Blue drives in my main box at home and the consecutive read's were on par if not even faster. As stated, the higher the density, the faster the read so if you slow down the platter, but increase the density, it will even out.
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"For Dummies" DVD Storage/Playing | OneThomas | SageTV Media Extender | 18 | 11-09-2009 01:19 PM |
"Sort By Title" most shows end up under "T" as in "The" | grauchy | SageMC Custom Interface | 1 | 09-25-2009 06:44 AM |
When attempting to play avi over network get "file no longer exists" | cyberfreak | SageTV HD Theater - Media Player | 6 | 04-13-2009 04:08 PM |
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting | maxpower | SageMC Custom Interface | 9 | 05-14-2008 09:44 PM |
Progress bar "too fast" | amg | SageTV Software | 0 | 01-10-2005 12:07 PM |