• Members 1181 posts
    July 4, 2024, 9:14 a.m.

    I have a quick question to the network specialists here,...
    I have a NAS and a PC both capable of 2.5 G
    They will be both (soon) connected to a managed switch also with 2.5G capabilties.
    The Router still only has a 1G connection.

    Can I expect the max speeds between the NAS and PC to be based on 2.5G speeds, or is this limited down to 1G because of the router ?

    Thanks
    Trevor

    20240704_110512 (002).jpg

    20240704_110512 (002).jpg

    JPG, 533.3 KB, uploaded by Fireplace33 on July 4, 2024.

  • Members 758 posts
    July 4, 2024, 9:48 a.m.

    Are you running HDD's or SSD's in the NAS? Read/write speed of a 7200rpm HDD is 80-160 Megabytes/sec, or 1.28 Gigabits/sec, maximum. That's in a perfect world. I don't think the 1G will slow things up there.

    PS I'm certainly not a Network, or IT specialist by the way. Just enjoy playing around with that stuff for my own enjoyment.

    Edit 2 My Modem/router is 10 Gigabit, PC is 2.5 Gigabit, the NAS is still the bottleneck at 1 Gigabit.

  • Members 1181 posts
    July 4, 2024, 9:57 a.m.

    There are 4 x 8TB HDD in the NAS running in a RAID5 config at 7200rpm, the read/write speed I get at the moment with the current 1G switch+ 1G router is just under 100MB/s
    The 2.5G switch is new but as yet untested. I'm asking here just to know what to expect when testing.

    I guess my question is does the router have any effect on the speed at all. In my diagram the NAS and PC are both connected into the same switch so in my naive thoughts the router might not even play a role at all in the speed between the NAS and PC. But I'm quite prepared to be corrected on that thought :-)

  • July 4, 2024, 10:29 a.m.

    No.

  • Members 758 posts
    July 4, 2024, 10:32 a.m.

    As far as I understand it, if the router is in your network, that's going to be the weakest/slowest link in the chain.

  • Members 1181 posts
    July 4, 2024, 10:37 a.m.

    Thanks
    ... that is a clear and, for me, the best answer :-)
    It means I just need to plug in the new 2.5G switch and it should start to work somewhat faster (between PC & NAS), until of course other limiting factors start to kick in :-)

    But, I was thinking, as Ghundred also just commented, that since the 1G router is also connected into that same switch it might limit the speed between the PC & NAS to 1G ?
    What role does the router play here ?

  • Foundation 200 posts
    July 4, 2024, 11:28 a.m.

    Fireplace33,

    None, the router only comes into play when accessing something the other side of it - eg. the "modem" (& presumably the Internet).

    The PC & NAS have direct connections to the switch at 2.5 Gbps - so you get 2.5 Gbps if there are no external factors (eg. read/write speed of the NAS) affecting it

    Tim

  • Members 1181 posts
    July 4, 2024, 12:43 p.m.

    Thanks Tim!
    That is exactly what I was hoping for :-)
    I'll try it out with those expectations, as soon as possible. The switch should arrive for testing in a few days.
    It also means I don't have to upgrade the router which would be much more effort (and costs) before it is all set up and running again.

  • Members 758 posts
    July 4, 2024, 12:48 p.m.

    Let us know how you go, if you get any increase in data transfer speeds. Do you know what your NAS ethernet connection speed is? Curious to see if it does make any difference

  • July 4, 2024, 1:04 p.m.

    The only way it would be limited is if the switch sees the 1Gb link to the router and downgrades the other ports to match. But switches are normally much more intelligent than that and can buffer to accommodate.

    I think I agree with Arvo - "No".

    Alan

  • Members 1181 posts
    July 4, 2024, 1:42 p.m.

    Yes will do. It should arrive tomorrow.

  • Members 1181 posts
    July 5, 2024, 6:30 p.m.

    I promised to post the results of my test. Here they are.

    In short upgrading only the switch works fine.
    Updating only the switch to 2.5G has doubled the write speed and more than doubled the read speed from my PC to NAS 😊

    Here as an average in Mbps for a test of several data blocks that were 6GB big each
    (For MB/s just divide by 8)

    speed test pf NAS with new switch.jpg
    I guess it confirms that the router has no effect on speed in my case as shown by my sketch in the OP

    20240704_110512 (002).jpg

    This is of course still slower than using SSD’s on a 10G network, but nevertheless it’s a welcome speed increase for what I need.

    For testing I used the test program called “LAN SPEED TEST”
    the HDD drives in the NAS are 4 x 8TB Seagate Ironwolf NAS drives with 7200rpm

    speed test pf NAS with new switch.jpg

    JPG, 27.0 KB, uploaded by Fireplace33 on July 5, 2024.

  • July 5, 2024, 10:32 p.m.

    That's good news.

    I have another question for the hive minds here:

    I have a Synology NAS device with 2 x 1Gb/sec ports. These can be 'bonded' into one virtual network interface (also called Link aggregation). If I connected those to a 2.5Gb/sec switch (taking up 2 ports) and had a third port talking to my PC with a 2.5gb/sec port on it, do you think i would get double the throughput between the two devices?

    Alan

  • Members 758 posts
    July 5, 2024, 11:54 p.m.

    That's an excellent result. I'm happy to be very wrong here :) Well worth the modest investment.
    When I finally upgrade my NAS, I'll definitely look for something with a faster ethernet port for sure.

  • Members 1181 posts
    July 6, 2024, 7:21 a.m.

    I looked up in google about port aggregation. It seems it should work as you described, but I stumbled upon a few prerequisits:
    Please take this all with a pinch of salt as I've never tried it, so I don't know if any of the following is even true :-)

    -The swicth has to be a "managed" switch.
    -The two cables need to be connected in some special way, like port 1 on the NAS to say port 2 on the switch and the port 2 on the NAS to port 3 on the switch. So that means using consequetive ports in ascending order. (no idea why or if that is really necessary?)
    -The two devices have to be capable of being set up into port aggregation mode and that must be done BEFORE the second cable is added.
    presumably you'd need to use the web interface of both of the devices to set that up. By the way it is also known as "trunking"
    -There was some mention that using port aggregaton increases the capacity of the "double cable" but not necessarily the speed of each individual cable. This was compared to adding more lanes onto an existing motorway; with more lanes it can take more cars but they still all have their same previous max speed. That extra capacity can however lead to faster transfer rates, especially when a lot of data is transfered. And also more capacity to support more users at the same time

    It seems like it is worth investigating as it would be a very cheap investment (just one cable) to get welcome extra speed.
    As I mentioned the program called LAN SPEED TEST (link) is great and easy way to use to measure the results. The "lite" version is free and the full version costs only 10 USD. It worked immediately

    Let us know if you have any success here.

  • July 6, 2024, 11:11 a.m.

    Thank you. Very useful info. I did investigate managed routers - they are not cheap...

    If I proceed, I will update this. But probably not yet (too many other things on the go).

    Alan

  • July 6, 2024, 12:11 p.m.

    Of course it does not change data transfer speed over one link - but as speed equals total bytes per second, then overall speed doubles.

    Unfortunately I have no suitable experience and thereby cannot comment on dual-link setup. Most likely possibility of such setup is noted in switch documentation.

  • Members 1181 posts
    July 6, 2024, 12:16 p.m.

    Not sure what your needs or budget would be, but I paid 100 Euro for this one
    "NICGIGA 8 Port 2.5G Web Smart Managed Ethernet Switch".

    I just checked and I could turn on "trunking" for this switch by using its web interface and also define trunking for my QNAP TS-67A3 NAS to use 2 LAN cables to connect them. (to give 2 x 2.5G)
    Seems to be easy and a good idea to do so, and I might try it later too :-)

    ...but my measured write speed is much lower than my read speed which conforms (I think) that the network is not limiting the write speed. The speed limit for writing to the NAS would be the HDD's in the NAS (I guess). I might see some small improvement in the read speed if I use trunking with 2 cables because that is reading in parallel from all 4 drives in the NAS and reading is also buffered by an SSD cache. However the measured read speed of 2104 Mbps is just under the 2.5G speed (I think) so looks like the network is not limiting reading either ?
    speed test pf NAS with new switch.jpg