2 Oct 2003 21:21
Re: Re: Minutes from 10/1 LSE Call
Steven Pratt <slpratt <at> austin.ibm.com>
2003-10-02 19:21:13 GMT
2003-10-02 19:21:13 GMT
Andrew Morton wrote:
>Hanna Linder <hannal <at> us.ibm.com> wrote:
>
>
>>In mainline, once block size is over 32k our throuput actually drops off.
>>It levels off around 128k but at a greater cpu utilization.
>>Dont really understand why that is.
>>
>>
>
>Probably thrashing the CPU's L1 cache.
>
>
>>In mm tree, maintains throughput for all block size but the cpu utilzation
>>keeps going up to do the same throughput. Readprofile shows the extra time
>>is being spent in copy_to_user (in mm tree). Backing out readahead patch
>>reduces cpu by 10% for all block sizes but still shows the spike. So that
>>isnt the main problem.
>>
>>
>
>If you have a loop like:
>
> char *buf;
>
> for (lots) {
> read(fd, buf, size);
> }
>
(Continue reading)
RSS Feed