Re: very slow copy on mount of WindowsXP shares - was Re: copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link

2013-04-19 Thread Zenaan Harkness
On 4/15/13, Zenaan Harkness z...@freedbms.net wrote:
 On 4/15/13, Zenaan Harkness z...@freedbms.net wrote:
 Again, here's my command (all one line):
 $ sudo mount -t cifs -o
 file_mode=0666,dir_mode=0777,setuids,credentials=mycreds
 //server.ip.address/git /x

 When I copy files from the /x/ mount to the /x/ mount, or within (both
 from and to) the /x/ mount, it is extremely slow, in the order of
 100KiB/s

 Interestingly, my problem of slowdown only seems to happen when
 copying _to_ the mount (either from local storage, or from the mount
 itself), but copying _from_ the mount _to_ local storage is normal
 (fast).

Is there any reason I should not file a bug report against cifs-utils
at this point?

TIA
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caosgnsrdsthvvs+nggtpwdk1fsafhtobvaclfc8ja752qnv...@mail.gmail.com



very slow copy on mount of WindowsXP shares - was Re: copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link

2013-04-14 Thread Zenaan Harkness
I realised my subject belied a little misunderstanding on my part.

cifs-utils is now separate to samba.
cifs-utils provides for kernel mount of windows (or samba) shares.

Again, here's my command (all one line):
$ sudo mount -t cifs -o
file_mode=0666,dir_mode=0777,setuids,credentials=mycreds
//server.ip.address/git /x

When I copy files from the /x/ mount to the /x/ mount, or within (both
from and to) the /x/ mount, it is extremely slow, in the order of
100KiB/s

I'll see if I can hunt up a fuse option and test that.

TIA
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOsGNSSQ4QW_BJCso0gUEe=rU1NXM4FjTtCcnNkC46=v+my...@mail.gmail.com



Re: very slow copy on mount of WindowsXP shares - was Re: copy onto cifs-utils samba mount maxes out at 100KiB/s on 100Mib/s eth link

2013-04-14 Thread Zenaan Harkness
On 4/15/13, Zenaan Harkness z...@freedbms.net wrote:
 Again, here's my command (all one line):
 $ sudo mount -t cifs -o
 file_mode=0666,dir_mode=0777,setuids,credentials=mycreds
 //server.ip.address/git /x

 When I copy files from the /x/ mount to the /x/ mount, or within (both
 from and to) the /x/ mount, it is extremely slow, in the order of
 100KiB/s

Interestingly, my problem of slowdown only seems to happen when
copying _to_ the mount (either from local storage, or from the mount
itself), but copying _from_ the mount _to_ local storage is normal
(fast).

Baffling,
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caosgnsrh5fqwd1mlpojt1lqkan_kcfbvszydbcnxfyuj0fh...@mail.gmail.com



Slow copy

2005-12-15 Thread Graham Smith
Hi,

This is perhaps one of the stranger questions to be asked but I'm looking for 
a utility that will copy a file slowly.

Part of my ad hoc backup system is to copy the nightly backup tar file from 
our production machine onto another machine. The problem is that the 
production machine is not exactly what you would call high performance and 
the file copy basically causes everything else to grind to a halt. It doesn't 
matter to me that the copy is done in 5 minutes or 50 minutes what matters is 
that it doesn't kill the server for 5 minutes a day.

What I am basically looking for is a version of cp with a max copy rate 
argument. I would write my own but I can't believe that I'm the only one who 
has ever wanted this feature so I suspect there is one already in existence.

Thanks,

Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Slow copy

2005-12-15 Thread Clive Menzies
On (15/12/05 12:42), Graham Smith wrote:
 Hi,
 
 This is perhaps one of the stranger questions to be asked but I'm looking for 
 a utility that will copy a file slowly.
 
 Part of my ad hoc backup system is to copy the nightly backup tar file from 
 our production machine onto another machine. The problem is that the 
 production machine is not exactly what you would call high performance and 
 the file copy basically causes everything else to grind to a halt. It doesn't 
 matter to me that the copy is done in 5 minutes or 50 minutes what matters is 
 that it doesn't kill the server for 5 minutes a day.
 
 What I am basically looking for is a version of cp with a max copy rate 
 argument. I would write my own but I can't believe that I'm the only one who 
 has ever wanted this feature so I suspect there is one already in existence.
 
Have you tried rsync?  It may not alleviate the slowdown of the
production machine but it would shorten the time of transfer; rsync only
copies changed files.

It would however require backing up the files themselves rather the
tarfile.

I put up some notes on backing up a file server using rsync with some
links I found really useful:
http://www.clivemenzies.co.uk/selfhelp/FileServer_Install_manual.html

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Slow copy

2005-12-15 Thread Hugo Vanwoerkom

Graham Smith wrote:

Hi,

This is perhaps one of the stranger questions to be asked but I'm looking for 
a utility that will copy a file slowly.


Part of my ad hoc backup system is to copy the nightly backup tar file from 
our production machine onto another machine. The problem is that the 
production machine is not exactly what you would call high performance and 
the file copy basically causes everything else to grind to a halt. It doesn't 
matter to me that the copy is done in 5 minutes or 50 minutes what matters is 
that it doesn't kill the server for 5 minutes a day.


What I am basically looking for is a version of cp with a max copy rate 
argument. I would write my own but I can't believe that I'm the only one who 
has ever wanted this feature so I suspect there is one already in existence.




Can't you run the copy from nice to a very low scheduling priority?

H


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Slow copy

2005-12-15 Thread Ronny Aasen
On Thu, 2005-12-15 at 12:42 +, Graham Smith wrote:
 Hi,
 
 This is perhaps one of the stranger questions to be asked but I'm looking for 
 a utility that will copy a file slowly.
 
 Part of my ad hoc backup system is to copy the nightly backup tar file from 
 our production machine onto another machine. The problem is that the 
 production machine is not exactly what you would call high performance and 
 the file copy basically causes everything else to grind to a halt. It doesn't 
 matter to me that the copy is done in 5 minutes or 50 minutes what matters is 
 that it doesn't kill the server for 5 minutes a day.
 
 What I am basically looking for is a version of cp with a max copy rate 
 argument. I would write my own but I can't believe that I'm the only one who 
 has ever wanted this feature so I suspect there is one already in existence.
 

if you do your copy with rsync, you can use the --bwlimit argument.
if you do your tar's with --rsyncable you would not have to transfer the
whole tar file each time either, only the differences. 

if you do not use rsync you can throttle your aplication with trickle or
shaperd

with regards
Ronny Aasen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Slow copy

2005-12-15 Thread Alvin Oga


On Thu, 15 Dec 2005, Ronny Aasen wrote:

 On Thu, 2005-12-15 at 12:42 +, Graham Smith wrote:
  Hi,
  
  This is perhaps one of the stranger questions to be asked but I'm looking 
  for 
  a utility that will copy a file slowly.
  
  Part of my ad hoc backup system is to copy the nightly backup tar file from 
  our production machine onto another machine. The problem is that the 
  production machine is not exactly what you would call high performance and 
  the file copy basically causes everything else to grind to a halt. It 
  doesn't 
  matter to me that the copy is done in 5 minutes or 50 minutes what matters 
  is 
  that it doesn't kill the server for 5 minutes a day.
  
  What I am basically looking for is a version of cp with a max copy rate 
  argument. I would write my own but I can't believe that I'm the only one 
  who 
  has ever wanted this feature so I suspect there is one already in existence.
  

you can use 'nice' on the backup script/programs to give it low
cpu priority

 if you do your copy with rsync, you can use the --bwlimit argument.
 if you do your tar's with --rsyncable you would not have to transfer the
 whole tar file each time either, only the differences. 

a gazillion ways to copy files from xxx to yyy machine :-)

 if you do not use rsync you can throttle your aplication with trickle or
 shaperd

c ya
alvin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Slow copy

2005-12-15 Thread Derrick Hudson
On Thu, Dec 15, 2005 at 12:42:18PM +, Graham Smith wrote:
| Hi,
| 
| This is perhaps one of the stranger questions to be asked but I'm looking for 
| a utility that will copy a file slowly.
[...] 
| What I am basically looking for is a version of cp with a max copy rate 
| argument. I would write my own but I can't believe that I'm the only one who 
| has ever wanted this feature so I suspect there is one already in existence.

I have wanted this every time I had to try and salvage data from flaky
hardware.  Running cp or scp or rsync at full-speed would lock up the
system.  I'm not aware of any solution, though, short of creating a
new program or modifying cp.

-D

-- 
Q: What is the difference between open-source and commercial software?
A: If you have a problem with commercial software you can call a phone
   number and they will tell you it might be solved in a future version.
   For open-source sofware there isn't a phone number to call, but you
   get the solution within a day.
 
www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED]


signature.asc
Description: Digital signature