Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206366

Re: How to slow more copying of files ?

From Pierre Couderc <pierre@couderc.eu>
Newsgroups linux.debian.user
Subject Re: How to slow more copying of files ?
Date 2019-03-19 13:50 +0100
Message-ID <xDmlP-7rh-3@gated-at.bofh.it> (permalink)
References <xDkal-68Y-1@gated-at.bofh.it> <xDkk3-6cz-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3/19/19 11:39 AM, tomas@tuxteam.de wrote:
> On Tue, Mar 19, 2019 at 11:29:36AM +0100, Pierre Couderc wrote:
>> Big copy operations (with cp) may be slow, but it is not my problem.
>>
>> But too,  they slow the full computer !
>>
>> Is there a way to slow the copy which is not a priority task to let
>> the computer breath.... ?
> This is more complicated than you might wish :-)
>
> The problem centers around the definition of "slow": clearly, some
> resource is being hogged by your 'cp', but which one(s) will depend
> much on your hardware.
in fact, in this case, it is a copy of mailboxes (many small files) from 
a location to another, the whole on a brtfs RAID1 device...
>
> Since you have tried 'nice' with no effect, let's assume that this
> resource isn't CPU.
Yes, top, shows it (what it is  allowed to run ;)
>   Then, you might have a look at 'ionice' (from
> the package util-linux). But too little RAM might be as well a
> problem.
>
> Another avenue might be using rsync, which offer a rate-limiting
> option (--bwlimit).

Thank you, sure I shold use rsync or ionice.

Anyway, it not a reptitive tasks, but it was yo understand...

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to slow more copying of files ? Pierre Couderc <pierre@couderc.eu> - 2019-03-19 11:30 +0100
  Re: How to slow more copying of files ? <tomas@tuxteam.de> - 2019-03-19 11:40 +0100
    Re: How to slow more copying of files ? Pierre Couderc <pierre@couderc.eu> - 2019-03-19 13:50 +0100
  Re: How to slow more copying of files ? Kevin DAGNEAUX <kevin.dagneaux@fiitelcom.fr> - 2019-03-19 12:30 +0100
    Re: How to slow more copying of files ? Pierre Couderc <pierre@couderc.eu> - 2019-03-19 13:50 +0100

csiph-web