Re: [PATCH 4/10] iscsi: data digest page cache usage fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Hellwig wrote:
On Thu, Jan 12, 2006 at 11:08:33PM -0600, Mike Christie wrote:

From FUJITA Tomonori <tomof@xxxxxxx>:

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.
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux