mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Akira Tsukamoto <at541@columbia.edu>
To: Akira Tsukamoto <at541@columbia.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.46 add original copy_ro/from_user for i386 and support PenPro PenII
Date: Thu, 07 Nov 2002 09:16:50 -0500	[thread overview]
Message-ID: <20021107091529.5742.AT541@columbia.edu> (raw)
In-Reply-To: <20021105090237.511A.AT541@columbia.edu>

On Tue, 05 Nov 2002 09:36:48 -0500
Akira Tsukamoto <at541@columbia.edu> mentioned:
> 
> This is revised version from my previous patch, adding original copy_user.
> 
> In addition, I changed one line in Kconfig, remove M585MMX and add M686
> because I run new copy-user on my PentiumMMX but had no improvement,
> however PenII/PenPro likely to have improvement from new copy_user function.

I gathered benchmark results for PentiumMMX. 
They confirm that my patch improves the speed.

I run the Taka's socket benchmark program on PentiumMMX with CONFIG-M586MMX.
http://www.suna-asobi.com/~akira-t/linux/cleanup-copy-user-1/netio586mmx.c

Without my patch on 2.5.46:

(off:0, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.381 seconds at 13.1 Mbytes/sec
(off:1, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.488 seconds at 10.2 Mbytes/sec
(off:2, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.493 seconds at 10.1 Mbytes/sec
(off:3, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.489 seconds at 10.2 Mbytes/sec
(off:4, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.381 seconds at 13.1 Mbytes/sec
(Entire log is here, 
http://www.suna-asobi.com/~akira-t/linux/cleanup-copy-user-1/586MMX-PenMMX-no-patch.log)

With my patch on 2.5.46:

(off:0, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.380 seconds at 13.2 Mbytes/sec
(off:1, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.385 seconds at 13.0 Mbytes/sec
(off:2, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.385 seconds at 13.0 Mbytes/sec
(off:3, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.384 seconds at 13.0 Mbytes/sec
(off:4, size:0x100000) 
send/recv: copied 5.0 Mbytes in 0.381 seconds at 13.1 Mbytes/sec
(Entire log is here, 
http://www.suna-asobi.com/~akira-t/linux/cleanup-copy-user-1/586MMX-PenMMX-with-patch.log)

I appreciate if somebody could try on 386 or 486.
I don't have them right now.

Cheers,

Akira 




      parent reply	other threads:[~2002-11-07 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05 14:36 Akira Tsukamoto
2002-11-05 14:52 ` Akira Tsukamoto
2002-11-07 14:16 ` Akira Tsukamoto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021107091529.5742.AT541@columbia.edu \
    --to=at541@columbia.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®