Re: [PATCH 2/7] locking/rwsem: more aggressive use of optimistic spinning

From: Waiman Long
Date: Mon Aug 18 2014 - 18:48:53 EST


On 08/17/2014 07:41 PM, Dave Chinner wrote:
On Fri, Aug 15, 2014 at 01:58:09PM -0400, Waiman Long wrote:
On 08/14/2014 11:34 PM, Dave Chinner wrote:
<create sparse vm image file of 500TB on ssd with XFS on it>
xfs_io -f -c "truncate 500t" -c "extsize 1m" /path/to/vm/image/file
....
Thank for the testing recipe. I am afraid that I can't find a 500TB
SSD for testing purpose.
Which bit of "sparse vm image file" didn't you understand? I'm
using a 400GB of SSD for this testing....

$ df -h /mnt/fast-ssd
Filesystem Size Used Avail Use% Mounted on
/dev/sdf 400G 275G 125G 69% /mnt/fast-ssd
$ ls -lh /mnt/fast-ssd/vm-500t.img
-rw------- 1 root root 500T Aug 15 13:21 /mnt/fast-ssd/vm-500t.img
$ du -sh /mnt/fast-ssd/vm-500t.img
275G /mnt/fast-ssd/vm-500t.img

That is on a Samsung 840 EVO SSD, which just about everyone should
be able to obtain. Do you *really* think I have 500TB of SSDs lying
around?

Cheers,

Dave.

I am sorry that I misunderstood your instruction. I am not a filesystem guy and haven't run this kind of test before.

Thank for the clarification.

-Longman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/