prankstare wrote:
I'm aware about protocol overhead, but what I'm asking is why exactly an RPi doesn't make a good "gigabit" server. Would it be because of the USB ports or overall hardware performance? I also heard that if you attach a USB 2.0 gigabit ethernet adapter like this one (
http://plugable.com/products/usb2-e1000) it could increase transfer speeds by double what the 10/100Mbit ethernet can even on the RPi itself. Can you confirm this?
USB 2.0 480mbps total bandwidth, less overhead - so total usable bandwidth is <50Mbytes/sec, ie <400Mbps, to be shared between USB gigabit Ethernet adapter and USB hard drive.
Assuming perfectly fast hard drive without latency, assuming perfect file service software, ie everything unrealistic, best possible theoretical performance would be less than 25MB/sec ... it is literally impossible to even reach that.
So even in an impossible, unrealistic world, you could get no more than 200Mbps of file traffic
In the real world, it is likely that the real maximum is less than 20MB/sec, ie less than 160Mbps on the wire, which is still better than the theoretical maximum of about 11MB/sec with 100Mbit Ethernet.
480Mbps USB2 limit means it is IMPOSSIBLE to make anything but a poor gigabit server from an RPi.
(I do not consider a theoretical ceiling of 25MB/sec on a gigabit network theoretically capable of about 110MB/sec good)
My latest article is about the limits to how fast USB hard drive enclosures can work with a Raspberry Pi 2, you will see some real-world numbers in it that may help you understand.
http://www.mikronauts.com/raspberry-pi/ ... ter-tests/
The Pi 2 was designed to be a great little educational computer / inexpensive desktop / hobby computer.
The design decisions driven by the need to keep the cost low means that it
cannot be a high-performance server.
That does not mean it cannot be an adequate small server for a small home network that does not expect high bandwidth server use - ie for documents, photos etc - where 100Mbps-200Mbps is sufficient.