Re: [Vserver] disk scheduling ?

2007-06-05 Thread Tony Lewis

Nicolas Cadou wrote:

Le Sunday 3 June 2007 02:15, Tony Lewis a écrit :
  

My context is this: one vserver runs a popular web site, and on another
one, occasionally I shift multi-gig files around, with cp.  When I'm doing
that, the website vserver grinds to a halt - well, responds to requests
quite slowly anyway.



Instead of cp I use rsync --bwlimit=7000, which throttles I/O to a bit less 
than 7MB/s. Works for local disk-to-disk copying, and works quite well.
  


There's always a workaround, but that's the same as renice'ing processes 
on one vserver to be cognisant of the needs of another vserver.  It's 
what the CPU limiting handles, so vservers can be more autonomous.


Tony

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] disk scheduling ?

2007-06-05 Thread Nicolas Cadou
Le Tuesday 5 June 2007 06:52, Tony Lewis a écrit :
 Nicolas Cadou wrote:
  Le Sunday 3 June 2007 02:15, Tony Lewis a écrit :
  My context is this: one vserver runs a popular web site, and on another
  one, occasionally I shift multi-gig files around, with cp.  When I'm
  doing that, the website vserver grinds to a halt - well, responds to
  requests quite slowly anyway.
 
  Instead of cp I use rsync --bwlimit=7000, which throttles I/O to a bit
  less than 7MB/s. Works for local disk-to-disk copying, and works quite
  well.

 There's always a workaround, but that's the same as renice'ing processes
 on one vserver to be cognisant of the needs of another vserver.  It's
 what the CPU limiting handles, so vservers can be more autonomous.

I never came to try it, but this might help:

http://linux-vserver.org/Frequently_Asked_Questions#Disk_I.2FO_limiting.3F_Is_that_possible.3F

-- 

Nicolas Cadou

Cobi Informatique Inc


pgpeTXjk6sTYF.pgp
Description: PGP signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] disk scheduling ?

2007-06-05 Thread Admin
On Wed, 6 Jun 2007 03:07:37 am Nicolas Cadou wrote:
 Le Tuesday 5 June 2007 06:52, Tony Lewis a écrit :
  Nicolas Cadou wrote:
   Le Sunday 3 June 2007 02:15, Tony Lewis a écrit :
   My context is this: one vserver runs a popular web site, and on
   another one, occasionally I shift multi-gig files around, with cp. 
   When I'm doing that, the website vserver grinds to a halt - well,
   responds to requests quite slowly anyway.
  
   Instead of cp I use rsync --bwlimit=7000, which throttles I/O to a bit
   less than 7MB/s. Works for local disk-to-disk copying, and works quite
   well.
 
  There's always a workaround, but that's the same as renice'ing processes
  on one vserver to be cognisant of the needs of another vserver.  It's
  what the CPU limiting handles, so vservers can be more autonomous.

 I never came to try it, but this might help:

 http://linux-vserver.org/Frequently_Asked_Questions#Disk_I.2FO_limiting.3F_
Is_that_possible.3F

A while back I made some patches for util-vserver and a vserver-patched kernel 
which implemented ionice support

http://www.users.on.net/~anonc/.patches/vserver/

the readme.txt file has details on requirements and usage

it should be simple to adapt these to the latest releases.
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver