All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrew Theurer" <habanero@us.ibm.com>
To: <nfs@lists.sourceforge.net>, "Hirokazu Takahashi" <taka@valinux.co.jp>
Subject: Re: [PATCH] zerocopy NFS updated
Date: Fri, 12 Apr 2002 06:10:46 -0500	[thread overview]
Message-ID: <009501c1e212$b30e6bc0$2e060e09@beavis> (raw)
In-Reply-To: 20020410.191231.130623162.taka@valinux.co.jp

I tried the patch with great performance improvement!   I ran my nfs read
test (48 clients read 200 MB file from one 4-way SMP NFS server) and
compared your patches to regular 2.5.7.  Regular 2.5.7 resulted in 87 MB/sec
with 100% CPU utilization.  Your patch resulted 130 MB/sec with 82% CPU
utilization!  This is very good!  I took profiles, and as expected,
csum_copy and file_read_actor were gone with the patch.  Sar reported nearly
40 MB/sec per gigabit adapter (there are 4) during the test.  That is the
most I have seen so far.  Soon I will be doing some lock analysis to make
sure we don't have any locking problems.  Also, I will see if there is
anyone here at IBM LTC that can assist with your development of zerocopy on
UDP.  Thanks for the patch!

Andrew Theurer


> Hi
>
> I add a new patch for zerocopy NFS.
> va03-knfsd-zerocopy-sendpage-2.5.7-test1.patch makes knfsd to skip
> csum_partial_copy_generic() which copies data into a sk_buff.
> This feature works on when you use NFS over TCP only at this moment.
> I'd like to implement sendpage for UDP, but it doesn't work yet.
>
> But I wonder about sendpage. I guess HW IP checksum for outgoing
> pages might be miscalculated as VFS can update them anytime.
> New feature like COW pagecache should be added to VM and they
> should be duplicated in this case.
>
> Is there anyone who could advise me about this ?
>
>
> Following patches patches are against linux 2.5.7
>
>
ftp://ftp.valinux.co.jp/pub/people/taka/tune/2.5.7/va01-knfsd-zerocopy-vfsre
ad-2.5.7.patch
>
ftp://ftp.valinux.co.jp/pub/people/taka/tune/2.5.7/va02-kmap-multplepages-2.
5.7.patch
>
>
ftp://ftp.valinux.co.jp/pub/people/taka/tune/2.5.7/va03-knfsd-zerocopy-sendp
age-2.5.7-test1.patch
>
>
> Andrew,  Could you try it again?
>
>
> Regards,
> Hirokazu Takahashi
>
>
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>


_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  parent reply	other threads:[~2002-04-12 11:06 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 10:12 [PATCH] zerocopy NFS updated Hirokazu Takahashi
2002-04-10 17:55 ` Andrew Theurer
2002-04-12 11:10 ` Andrew Theurer [this message]
2002-04-13  9:40   ` Hirokazu Takahashi
     [not found] <20020410.190550.83626375.taka@valinux.co.jp.suse.lists.linux.kernel>
2002-04-10 19:32 ` Andi Kleen
2002-04-11  2:30   ` David S. Miller
2002-04-11  6:46     ` Hirokazu Takahashi
2002-04-11  6:48       ` David S. Miller
2002-04-11  7:41         ` Hirokazu Takahashi
2002-04-11  7:52           ` David S. Miller
2002-04-11 11:38             ` Hirokazu Takahashi
2002-04-11 11:36               ` David S. Miller
2002-04-11 18:00                 ` Denis Vlasenko
2002-04-11 13:16                   ` Andi Kleen
2002-04-11 17:36                     ` Benjamin LaHaise
2002-04-16  0:17                     ` Mike Fedyk
2002-04-16 15:37                       ` Oliver Xymoron
2002-04-11 17:33             ` Benjamin LaHaise
2002-04-12  8:10               ` Hirokazu Takahashi
2002-04-12 12:30         ` Hirokazu Takahashi
2002-04-12 12:35           ` Andi Kleen
2002-04-12 21:22             ` Jamie Lokier
2002-04-12 21:31               ` David S. Miller
2002-04-13  0:21                 ` Jamie Lokier
2002-04-13  6:39                   ` Andi Kleen
2002-04-13  8:01                     ` Hirokazu Takahashi
2002-04-13 19:19                     ` Eric W. Biederman
2002-04-13 19:37                       ` Andi Kleen
2002-04-13 20:34                         ` Eric W. Biederman
2002-04-24 23:11                           ` Mike Fedyk
2002-04-25 17:11                             ` Andreas Dilger
2002-04-13 18:52                 ` Chris Wedgwood
2002-04-14  0:07                   ` Keith Owens
2002-04-14  8:19                     ` Chris Wedgwood
2002-04-14  8:40                       ` Keith Owens
2002-04-12 21:39             ` David S. Miller
2002-04-15  1:30               ` Hirokazu Takahashi
2002-04-15  4:23                 ` David S. Miller
2002-04-16  1:03                   ` Hirokazu Takahashi
2002-04-16  1:41                     ` Jakob Østergaard
2002-04-16  2:20                       ` Hirokazu Takahashi
2002-04-18  5:01                       ` Hirokazu Takahashi
2002-04-18  7:58                         ` Jakob Østergaard
2002-04-18  8:53                         ` Trond Myklebust
2002-04-19  3:21                           ` Hirokazu Takahashi
2002-04-19  9:18                             ` Trond Myklebust
2002-04-20  7:47                               ` Hirokazu Takahashi
     [not found]                               ` <200204192128.QAA24592@popmail.austin.ibm.com>
2002-04-20 10:14                                 ` Hirokazu Takahashi
2002-04-20 15:49                                   ` Andrew Theurer
  -- strict thread matches above, loose matches on Subject: below --
2002-04-10 10:05 Hirokazu Takahashi
2002-04-10 10:05 ` Hirokazu Takahashi

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='009501c1e212$b30e6bc0$2e060e09@beavis' \
    --to=habanero@us.ibm.com \
    --cc=nfs@lists.sourceforge.net \
    --cc=taka@valinux.co.jp \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.