Here is the test script:

Attachment: xattr-test.sh
Description: Binary data

David Zafman
Senior Developer
http://www.inktank.com




On Oct 3, 2013, at 11:02 PM, Loic Dachary <[email protected]> wrote:

> Hi David,
> 
> Would you mind attaching the script to the mail for completness ? It's a 
> useful thing to have :-)
> 
> Cheers
> 
> On 04/10/2013 01:21, David Zafman wrote:
>> 
>> I want to record with the ceph-devel archive results from testing limits of 
>> xattrs for Linux filesystems used with Ceph.
>> 
>> Script that creates xattrs with name user.test1, user.test2, …. on a single 
>> file
>> 3.10 linux kernel
>> 
>> ext4  
>> value bytes       number of entries
>>    1               148
>>   16             103
>>  256          14
>>  512            7
>>  1024         3
>> 4036          1 
>> Beyond this immediately get ENOSPC
>> 
>> btrfs    
>> value bytes       number of entries
>> 8                     10k
>> 16                   10k
>> 32                    10k
>> 64                    10k
>> 128                   10k
>> 256                   10k
>> 512                  10k  slow but worked 1,000,000 got completely hung for 
>> minutes at a time during removal strace showed no forward progress
>> 1024          10k
>> 2048          10k
>> 3096                  10k
>> Beyond this you start getting ENOSPC after fewer entries
>> 
>> xfs (limit entries due to xfs crash with 10k entries)
>> value bytes       number of entries
>> 1                    1k
>> 8                     1k
>> 16                            1k
>> 32                    1k
>> 64                           1k
>> 128                   1k
>> 256                  1k
>> 512                   1k
>> 1024                 1k
>> 2048                  1k
>> 4096                  1k
>> 8192                  1k
>> 16384                 1k
>> 32768                 1k
>> 65536                 1k
>> 
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to [email protected]
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> 
> 
> -- 
> Loïc Dachary, Artisan Logiciel Libre
> All that is necessary for the triumph of evil is that good people do nothing.
> 

Reply via email to