lkml.org 
[lkml]   [2009]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Poor performance on cp on kernel 2.6.27.7-9-xen (openSUSE 11.1)
Michael Monnerie wrote:
> And one last thing:
> rsync -aPv /disk1/bigfile /disk2/xxx
> That copies at max. 50MB/s, because 2 rsync tasks are started each
> taking 50% of 1 CPU - why doesn't the kernel switch the 2nd task to
> another CPU? There are 8 cpus in that system - 7 of them idle.

Usually in such cases it's because the tasks are piping data to each
other in such a way that they can't both run at the same time. In this
situation there is no point in moving one to another CPU because they're
not executing concurrently anyway.


\
 
 \ /
  Last update: 2009-02-05 02:41    [W:0.020 / U:1.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site