Jump to content



Photo

Copying Data between server and laptop issue


  • Please log in to reply
8 replies to this topic

#1 Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 16
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 12 June 2014 - 15:18

Hi guys

 

ok so i have a HP Microserver N54L

 

It connected to a gigabit switch

 

My Laptop is also conencted to this switch but is only 100Mb LAN

 

So i have the drives on the server mounted on my laptop using NFS

 

 

So lets say i have

 

Location 1 (Disk 1 on server)

Location 2 (Disk 2 on Server)

 

 

If i copy from disk 1 to my laptop it works fine its maxes out at 12.6MB/s

 

If i try to copy form location 1 to location 2

 

it start fast then slows all the way down

 

I have seen it as low as 10KB/s

 

The Load of the server goes up too

 

 

 

 

I am not sure why it is doing this

 

any ideas?

 

 

 




#2 Aheer.R.S.

Aheer.R.S.

    I cannot Teach Him, the Boy has no Patience!

  • Tech Issues Solved: 9
  • Joined: 15-October 10
  • Location: Wolverhampton, West Midlands

Posted 12 June 2014 - 15:19

trollpost

 

Yeah, you have a HP microserver :p

 

/trollpost

 

 

 

(j/k bud,)



#3 +LogicalApex

LogicalApex

    Software Engineer

  • Tech Issues Solved: 8
  • Joined: 14-August 02
  • Location: Philadelphia, PA
  • OS: Windows 7 Ultimate x64
  • Phone: Nexus 5

Posted 12 June 2014 - 15:39

Are you doing a direct disk copy on the server from Location 1 to Location 2? If so, possibly the drive in Location 2 is faulty?

 

If you're copying from the server to the laptop and then back to the server you could incur a fair bit of performance degradation. The smaller the files the larger the degradation.



#4 OP Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 16
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 12 June 2014 - 17:46

on the laptop i usually just drag the file form location 1 to location 2



#5 OP Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 16
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 12 June 2014 - 18:04

also if i ssh into the server and copy files that way it averages 50MB/s transfer, not sure what disks are in it



#6 +BudMan

BudMan

    Neowinian Senior

  • Tech Issues Solved: 107
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 13 June 2014 - 05:23

NSF?

Are we talking Linux ?

Depending on os depending on protocol doing copy move from to shares with client doing the move you have either everything done on server side or you have client as go between. Why anyone would be connected at 100 today is ??

Is your NSF tcp or udp? How do u not know what disks?

#7 OP Haggis

Haggis

    Neowinian Senior

  • Tech Issues Solved: 16
  • Joined: 13-June 07
  • Location: Near Stirling, Scotland
  • OS: Debian 7
  • Phone: Samsung Galaxy S3 LTE (i9305)

Posted 13 June 2014 - 10:15

NFS

 

What i meant was i dont know the disk speeds 

 

And i explained why i was connected at 100 is because only 100Mb LAN

 

I from Logical Apex that maybe when i do this its copying it to the laptop then back to the server 

 

using rsync in SSH showed transfer speeds of average 50MB/s



#8 Roger H.

Roger H.

    Neowinian Senior

  • Tech Issues Solved: 22
  • Joined: 18-August 01
  • Location: Germany
  • OS: Windows 8.1
  • Phone: Nexus 5

Posted 13 June 2014 - 12:04

What are you running on the server? What about a copy using SMB or something else?

#9 +BudMan

BudMan

    Neowinian Senior

  • Tech Issues Solved: 107
  • Joined: 04-July 02
  • Location: Schaumburg, IL
  • OS: Win7, Vista, 2k3, 2k8, XP, Linux, FreeBSD, OSX, etc. etc.

Posted 14 June 2014 - 11:37

"And i explained why i was connected at 100 is because only 100Mb LAN"

 

Not really an explanation - you stated that your connected at that, not why...  My point is more to why would anyone be using a laptop so old that it only has 100mbit ;)

 

What your looking for is server-side copy, samba has had this since 4.1 -- Here

 

https://wiki.samba.o...erver-Side_Copy

 

NFS is suppose to get it, not sure if implemented yet or when.. http://tools.ietf.or...er-side-copy-02 And not sure if linux clients support the SMB server-side that samba supports.  Windows has had this support for awhile but some issues with it actually working.  If 2012 server and windows 8 client I believe it attempts server side first now.  Your best bet is to just initiate the copy/move from the server itself if looking for best speed.