| To: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: Request for information on bloated writes using Swift |
| From: | Dilip Simha <nmdilipsimha@xxxxxxxxx> |
| Date: | Tue, 2 Feb 2016 19:40:34 -0800 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=eXY/EcGSTOWuLD3QiR8NXqvYx5Ajs+F/CjUnkjHAuCY=; b=bqU9Z6a+LLsE1l4ObyuH3po+q9fXmv5F8RGH6sfALrUJm+TBpM7laxyWbLedkRJpw2 qLa8yU1+QHfjrtjN+Ki+sKps9geg6yfSqlqtiyf7PY66UrDi155twmjyAAW3D9/aeJni LFixa2NOnxjLGB0r8P+rgMGRiajkamBJkrixtjU5niUsQStL1KsWHehQfkI4KpZF7iWW qz1gKsGZNq+9uRICF0P+RZagLCnN2VyEANl/2qkT08U0dpHfpwYoc9ezGsGqDCF+Ant9 T9eVCCpGekgIQ0l23lnyACg6CX9tt6Tmhnl1hP0fU7KoVkvxK0fedSBNmpoKrgdpPZCE f/ew== |
| In-reply-to: | <56B16A3C.1030207@xxxxxxxxxxx> |
| References: | <CAFHL4X1JU02LFYntkqhYg1N++ZU46ML3v5higo1nRsPyoZxL5A@xxxxxxxxxxxxxx> <56B16A3C.1030207@xxxxxxxxxxx> |
|
Hi Eric,
Thank you for your quick reply. Using xfs_io as per your suggestion, I am able to reproduce the issue. However, I need to falloc for 256K and write for 257K to see this issue. # xfs_io -f -c "falloc 0 256k" -c "pwrite 0 257k" /srv/node/r1/t1.txt # stat /srv/node/r1/t4.txt | grep Blocks  Size: 263168   Blocks: 1536    IO Block: 4096  regular file # xfs_io -f -c "pwrite 0 257k" /srv/node/r1/t2.txt # stat /srv/node/r1/t2.txt | grep Blocks Size: 263168 ÂÂBlocks: 520    IO Block: 4096  regular file # xfs_info /srv/node/r1 meta-data="" isize=256  Âagcount=4, agsize=183141504 blks     Â=            sectsz=512  attr=2, projid32bit=1     Â=            crc=0    Âfinobt=0 data   =            bsize=4096  blocks=732566016, imaxpct=5     Â=            sunit=0   Âswidth=0 blks naming  =version 2       Âbsize=4096  ascii-ci=0 ftype=0 log   Â=internal        bsize=4096  blocks=357698, version=2     Â=            sectsz=512  sunit=0 blks, lazy-count=1 realtime =none          extsz=4096  blocks=0, rtextents=0 # cat /proc/mounts | grep r1 /dev/mapper/35000cca05831283c-part2 /srv/node/r1 xfs rw,nosuid,nodev,noexec,noatime,nodiratime,attr2,inode64,logbufs=8,noquota 0 0 I waited for around 15 mins before collecting the stat output to give the background reclamation logic a fair chance to do its job. I also tried changing the value of speculative_prealloc_lifetime from 300 to 10. But it was of no use. cat /proc/sys/fs/xfs/speculative_prealloc_lifetime 10 Regards, Dilip On Tue, Feb 2, 2016 at 6:47 PM, Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Request for information on bloated writes using Swift, Eric Sandeen |
|---|---|
| Next by Date: | Re: Request for information on bloated writes using Swift, Dilip Simha |
| Previous by Thread: | Re: Request for information on bloated writes using Swift, Eric Sandeen |
| Next by Thread: | Re: Request for information on bloated writes using Swift, Dilip Simha |
| Indexes: | [Date] [Thread] [Top] [All Lists] |