CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Networking Support
  copy/backup to NAS

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  jcplu
      jcplu
copy/backup to NAS
#1
Newbie
Joined: 2012/7/3
From
Posts: 6
Hello,

I try to optimize the performance of my network.

I have :
- centos server with network card 1000M (DELL Poweredge) ext3, with 3 HDD SAS RAID5.
- win xp client (DELL Optiplex) : ntfs
- nas Synology : ntfs
- switch 1000M (Zyxel)

When I log to switch, and efter negociation the 3 ports display : 1000M.

Current transfert from server to client, or server to nas (rsync with mount -t smbfs) average : 5 - 9 M/s

What can I do ?
Posted on: 2012/7/3 8:19
Create PDF from Post Print
Top
  •  jcplu
      jcplu
Re: Copy/backup on network
#2
Newbie
Joined: 2012/7/3
From
Posts: 6
Hello,

I try to use nfs v4, here are the results :

my test :
dd if=/dev/zero of=/mnt/nfs/pc1/output.img bs=8k count=256k

time elapsed :
3min 13sec.

so now to copy big file (2Go) from client to server, I have an average of 20Mb/s (max #100Mb/s with Giga network) ...

1) if my switch displays 1000M for one port connected, is that the pc connected and the cable OK for 1000M ?

2) can you help me to test / increase my network performance ?
Posted on: 2012/7/5 22:43
Create PDF from Post Print
Top
  •  jcplu
      jcplu
Re: Copy/backup on network
#3
Newbie
Joined: 2012/7/3
From
Posts: 6
Hello,

No one to help me

Here are some informations:

My SERVER:
--------------

Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x000000ff (255)
Link detected: yes

-----

eth0 Link encap:Ethernet HWaddr 00:YY:YY:YY:YY:BF
inet adr:YYY.YYY.YYY.1 Bcast:YYY.YYY.YYY.255 Masque:255.255.255.0
adr inet6: yyyy::yyy:c9ff:fef6:e1bf/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:152386 errors:0 dropped:0 overruns:0 frame:0
TX packets:654643 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:42101609 (40.1 MiB) TX bytes:926143839 (883.2 MiB)
Interruption:169

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7607452 errors:0 dropped:0 overruns:0 frame:0
TX packets:7607452 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:3058546277 (2.8 GiB) TX bytes:3058546277 (2.8 GiB)

-----


My client:
-----------

Settings for eth1:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
Link detected: yes

---

eth1 Link encap:Ethernet HWaddr 00:YY:YY:YY:YY:15
inet adr:YYY.YYY.YYY.5 Bcast:YYY.YYY.YYY.255 Masque:255.255.255.0
adr inet6: yyyy::yyy:9bff:fe6b:4815/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:67744 errors:0 dropped:0 overruns:0 frame:0
TX packets:573467 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:11825579 (11.2 MiB) TX bytes:855585319 (815.9 MiB)
Interruption:169 Mémoire:dfcf0000-dfd00000

lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:21944 errors:0 dropped:0 overruns:0 frame:0
TX packets:21944 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:7239504 (6.9 MiB) TX bytes:7239504 (6.9 MiB)

---

My NAS DS207+ (Synology DSM 3.1) :
----------------------------------------------

RAID 1 : 2 HDD 7200 RPM 1Go + 1Go
connected @ 1000M

Settings for eth0:
Supported ports: [ ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on

---

eth0 Link encap:Ethernet HWaddr 00:YY:YY:YY:YY:AA
inet addr:YYY.YYY.YYY.55 Bcast:YYY.YYY.YYY.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:905470721 errors:0 dropped:0 overruns:0 frame:0
TX packets:212159213 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:512
RX bytes:3862174603 (3.5 GiB) TX bytes:1727729603 (1.6 GiB)
Interrupt:21

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:104197 errors:0 dropped:0 overruns:0 frame:0
TX packets:104197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12001416 (11.4 MiB) TX bytes:12001416 (11.4 MiB)

I also check my Zyxel switch :
- all ports are @ 1000M/Full/Off : server, client, and nas
- some ports are @ 100M : printers
- one port is @ 10M : ...

I also check cables : all are 5e or 6 (except for the cables that are in walls !! but it's probably sure that they are 5e or 6).

When I try to copy big file from SERVER to NAS or Client to NAS : I have around 15M/s ...

What can I do to increase the performance ?
Posted on: 2012/7/11 13:57
Create PDF from Post Print
Top
  •  jcplu
      jcplu
Re: Copy/backup on network
#4
Newbie
Joined: 2012/7/3
From
Posts: 6
NAS partition is mounted with nfs protocol.
Posted on: 2012/7/11 14:02
Create PDF from Post Print
Top
  •  jcplu
      jcplu
Re: Copy/backup on network
#5
Newbie
Joined: 2012/7/3
From
Posts: 6
Other tests :
--------------

Copy From Server to Client : 1 Go (with dd bs=8k) in 28sec, #36M/s.

Copy From Server to NAS : 1 Go (with dd bs=8k) in 28sec, #11M/s.
Posted on: 2012/7/11 16:15
Create PDF from Post Print
Top
  •  jcplu
      jcplu
Re: Copy/backup on network
#6
Newbie
Joined: 2012/7/3
From
Posts: 6
another test :
---------------

using NFSv3
Copy From Client To Server : 2 Go (with dd bs=8k) in 38sec, #55M/s.
Posted on: 2012/7/11 20:32
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com