[Top] [All Lists]

Re: Pid: 8345, comm: rsync Not tainted #1

To: xfs@xxxxxxxxxxx
Subject: Re: Pid: 8345, comm: rsync Not tainted #1
From: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Oct 2010 01:23:35 +0200
Cc: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>, "Stefan Priebe - Profihost AG" <s.priebe@xxxxxxxxxxxx>
In-reply-to: <20101026132505.6af29d5d@xxxxxxxxxxxxxxxxxxxx>
Organization: it-management http://it-management.at
References: <4CC67450.9020602@xxxxxxxxxxxx> <4CC6B56B.7020007@xxxxxxxxxxxx> <20101026132505.6af29d5d@xxxxxxxxxxxxxxxxxxxx>
User-agent: KMail/1.13.5 (Linux/; KDE/4.4.4; x86_64; ; )
On Dienstag, 26. Oktober 2010 Emmanuel Florac wrote:
> echo "noop" > /sys/block/sdc/queue/scheduler
> echo 512 > /sys/block/sdc/queue/nr_requests
> blockdev --setra 4096 /dev/sdc

How about this small script in /etc/init.d/boot.local?

for i in /dev/xvd? /dev/sd? ; do
   if test "$i" == "${i%\?}" ; then
      echo i=$i
      blockdev --setra 1024 $i
      echo j=$j
      echo noop >/sys/block/$j/queue/scheduler
      echo 512 >/sys/block/$j/queue/nr_requests

This works for VMs within XenServer (/dev/xvda) and real servers 
(/dev/sda), and sets some values for all drives.

BTW: any recommendations for these tuning knobs on VM-ized servers? What 
should be set in the VMs and what on the host? Has someone got tested 
numbers? I'm currently testing things, but it's so damn hard to get any 
useful, reliable results.

mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31

****** Radiointerview zum Thema Spam ******

// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/

Attachment: signature.asc
Description: This is a digitally signed message part.

<Prev in Thread] Current Thread [Next in Thread>