netdev
[Top] [All Lists]

Re: sendfile+zerocopy: fairly sexy (nothing to do with ECN)

To: andrewm@xxxxxxxxxx (Andrew Morton)
Subject: Re: sendfile+zerocopy: fairly sexy (nothing to do with ECN)
From: kuznet@xxxxxxxxxxxxx
Date: Sat, 27 Jan 2001 21:54:06 +0300 (MSK)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <3A726087.764CC02E@uow.edu.au> from "Andrew Morton" at Jan 27, 1 08:45:00 am
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> 2.4.1-pre10+zercopy, using read()/write():      38.1% CPU

write() on zc card is worse than normal write() by definition.
It generates split buffers.

Split buffers are more expensive and we have to pay for this.
You have paid too much for slow card though. 8)

Do you measure load correctly?


> 2.4.1-pre10+zercopy, using read()/write():      39.2% CPU    * hardware tx 
> checksums disabled

This is illegal combination of parameters. You force two memory accesses,
doing this. The fact that it does not add to load is dubious. 8)8)

Alexey

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