linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 4/10] iscsi: data digest page cache usage fix
Date: Fri, 13 Jan 2006 12:19:39 -0600	[thread overview]
Message-ID: <43C7EF3B.1090401@cs.wisc.edu> (raw)
In-Reply-To: <20060113181427.GM20718@infradead.org>

Christoph Hellwig wrote:
> On Thu, Jan 12, 2006 at 11:08:33PM -0600, Mike Christie wrote:
> 
>>>From FUJITA Tomonori <tomof@acm.org>:
>>
>>Users can write to a page while we are sending it and making
>>digest calculations. This ends up causing us to retry the command
>>when a digest error is later reported. By using sock_no_sendpage
>>when data digests are calculated we can avoid a lot of (not all but it
>>helps) the retries becuase sock_no_sendpage is not zero copy.
> 
> 
> This sounds like it'd kill performance badly when using data digests.
> But using lock_page from an LLDD sounds pretty bad aswell, so I don't
> know anything better.
> 

Yeah, we kinda accpeted that if you use data digests in linux 
performance will drop. It will either drop due to the copy we added here 
or due to the mutiple digest errors/retry path we will hit. Either way, 
the user should know that safety they get from data digests comes at a 
price.

      reply	other threads:[~2006-01-13 18:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13  5:08 [PATCH 4/10] iscsi: data digest page cache usage fix Mike Christie
2006-01-13 18:14 ` Christoph Hellwig
2006-01-13 18:19   ` Mike Christie [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=43C7EF3B.1090401@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=hch@infradead.org \
    --cc=linux-scsi@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;
as well as URLs for NNTP newsgroup(s).