Read/Write speeds?

Read/Write speeds?

Postby nieekou » Sun Jul 28, 2013 5:35 pm

Hello all!

I finally managed to install a new 3TB drive onto the network space 2 (made the partitions on linux on MBR, updated the UBOOT, converted to GPT and expanded the last partition), so far so good!

Now I'm currently copying the data from my old 1TB drive to the new one, but it feels slow, about 12-15Mb/sec. I'ts been really long since I bothered to transfer that much data, so I don't know if it was always like this, or if I somewhere messed it up.

So, what read/write speeds are you getting out of yours?

PS I realized that for some reason I installed the 12 version, I'll install the latest 14 tomorrow.
nieekou
 

Re: Read/Write speeds?

Postby Jocko » Mon Jul 29, 2013 8:22 am

Hi nieekou,

Your speed is a little lower than normal if you use access between a PC and the NAS with a switch 1000Mb/s. (see http://www.plugout.net/viewtopic.php?f=11&t=974&p=5647#p5647)
But maybe you use the USB network port of your NAS or your network performance is not optimal.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Read/Write speeds?

Postby nieekou » Mon Jul 29, 2013 1:11 pm

Hello Jocko, thank you for your reply.

The PC and the NAS are connected through a gigabit switch by ethernet, transferring files between PCs is way faster.

The reason I ask is because I remember reading somewhere on setting up the HDD, that I should do "this" and not "that" or else the performance will suffer. I think it had to do with the block sizes? I didn't give it much attention at the time (and regret it now :P )

I'll test again with the latest software version after the initial transfer from the previous drive is done (probably tomorrow?)

Thanks again
nieekou
 

Re: Read/Write speeds?

Postby fvdw » Tue Jul 30, 2013 9:56 am

the issue you are referring to is applicable if you have used an "advanced format" disk. very likely for a 3 TB disk
A advanced format disk has physical sector size of 4096 bytes and logical sector size of 512 bytes. While conventional disk have 512/512 bytes physical and logical sector size.
If you let a partion not start at a physical sector boundary on a advanced format disk it will cause performance problems. Thats why the start and end sector nr (logical one) of a partition must be chosen carefully. However if you have used GPT partition table this should be no issue and done automatically. No doubt that you have used GPT as otherwise you can not use 3 TB.

It could be a good idea to post your partition table to see if anything is abnormal.

ps. If it are all small files that you copy, for instance pictures or mp3's the the copy speed will also be lower as the handling of file headers cost time.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Read/Write speeds?

Postby nieekou » Wed Jul 31, 2013 8:55 pm

Thanks for your reply.
Actually now I get somewhere between 18-22MB/sec writing and 22-28 reading, so I think I'm good. Maybe it was slow because minidlna was still populating the index?

Yes it's GTP, converted from MBR with gdisk.

I'm afraid I can't post my partition table, as fdisk can't read it (unless I can install gdisk on it, on what linux distro is the software based-on?)

I also updated to version 14 and applied the chrome patch. All is well!!

Thank you for your hard work!!!
nieekou
 

Re: Read/Write speeds?

Postby fvdw » Wed Jul 31, 2013 10:56 pm

gdisk will be included in 14-1 it already present in the standalone kernel

The current firmware is using a linux 2.6.39.4 kernel (vanilla kernel/main line) and glibc 2.3.6
The next release will get Linux kernel 3.9.5, also we are working to upgrade glibc from 2.3.6 to 2.17, not sure if we will do both at same time

If you used GPT then you will have no sector misalignment. And yes if minidlna was doing indexing it will influence the file transfer speed as the cpu has more to do. The speeds you now report are quite normal.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Read/Write speeds?

Postby nieekou » Fri Mar 25, 2016 9:18 pm

Necro bumb!

After some point my performance dropped significantly, I'm now getting about 6MB/sec.

running htop I see that the MEM usage is pretty high, but I don't know why?
Also the swap partition seems to be empty?

I'm using fw version 16.0.

Any advise?
Thanks in advance
You do not have the required permissions to view the files attached to this post.
nieekou
 

Re: Read/Write speeds?

Postby fvdw » Fri Mar 25, 2016 11:05 pm

what is the setting of your netwerk interface ? (looks like you dropped to 100 Mbits/s instead of Gigabit

Code: Select all
ethtool eth0
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Read/Write speeds?

Postby wd9895 » Sat Mar 26, 2016 9:27 am

I have a question....
Why do you use fw16.0 as we are on 16.1 already ?

My recommentation: Use the new kernel 4.3.3 (beta, but very stable) and apply all patched for 16.1.

See my NWS2 speeds on a large ISO file, I made a comparision:
viewtopic.php?f=4&t=2345

It should be clear that copying many small files reduce the max through rate. But this is normal.
And finally, check the gigabit LAN.
wd9895
Donator Supporter
Donator Supporter
 
Posts: 255
Joined: Fri Jun 10, 2011 1:49 pm
Location: Hamburg, Germany


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 2 guests