lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 19 Apr 2010 14:04:51 -0400
From:	Ric Wheeler <rwheeler@...hat.com>
To:	Greg Freemyer <greg.freemyer@...il.com>
CC:	Eric Sandeen <sandeen@...hat.com>,
	Lukas Czerner <lczerner@...hat.com>,
	linux-ext4@...r.kernel.org, Jeff Moyer <jmoyer@...hat.com>,
	Edward Shishkin <eshishki@...hat.com>,
	Eric Sandeen <esandeen@...hat.com>, Mark Lord <liml@....ca>
Subject: Re: Ext4: batched discard support

On 04/19/2010 01:58 PM, Greg Freemyer wrote:
> On Mon, Apr 19, 2010 at 12:30 PM, Eric Sandeen<sandeen@...hat.com>  wrote:
>> Greg Freemyer wrote:
>>> Adding Mark Lord in cc.
>>>
>>> He wrote a preliminary discard solution last summer.  I'm not sure how
>>> it has progressed.
>>
>> The difference here is that Mark's stuff wasn't as tightly integrated
>> with the kernel, IIRC.  What I saw was more at a user level - make a big
>> file, map it, discard all the blocks, unlink the file.
>>
>> It was a good first step, but I think we can do a lot better by using
>> fs-specific calls to be efficient&  targeted about the discards.
>>
>> Christoph has a similar approach for XFS, FWIW.
>>
>> -Eric
>
> I haven't looked closely at this patch, but I recall Mark consolidated
> numerous discontinuous trim/discard/unmap ranges into a single command
> to the SSD drive.
>
> That was why he felt he was getting superior performance.  ie. There
> was an overhead per command to the drive that was eliminated if a
> single more complex command with multiple ranges went to the SSD
> drive.
>
> But he's the one that did the work and the benchmarking, so I'll let
> him take it from here, especially if I mis-understood what he was
> doing.
>
> Greg

This work certainly builds on Mark's early results which clearly showed that 
several devices see a win from doing larger/batched discards instead of the fine 
grained ones.

Thanks!

Ric

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ