lkml.org 
[lkml]   [1999]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (disk/cpu) kernel performance problem
Gerald Aigner wrote:
...
> Yes, DMA is enabled. Please keep in mind that I am reading something like
> 25-30 MB/second from the disks.
>
> I know that 45% (or in the case of 2.3.11 37%) is high and that's why
> I ask. I really would like to have these cycles to do my calculations.

The 45% doesn't mean much by itself.

What does "hdparm -T" give you?
(Uppercase T -- times memory/filesystem
throughput, without accessing the device).

If it gives something like 60-70MB/sec,
then your 25-30 is indeed 45% of your memory bandwidth.

Eg. My P2-400 with IDE drives gives 22MB/sec reading
from the drives, chewing up 14-18% of the CPU, mostly in copying
memory around. The -T thingie gives 116MB/sec, so we have:

22 / 116 = 18%

The darned thing even makes sense, given sufficient context.
--
Mark Lord
Real-Time Remedies Inc.
mlord@pobox.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.153 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site