public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_inode slab
@ 2013-02-10  7:14 Nikolay S.
  2013-02-10 21:06 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolay S. @ 2013-02-10  7:14 UTC (permalink / raw)
  To: xfs

Hello there,

I see some bad behavior of xfs, which I can reproduce:

1. Create some directories and files on xfs volume (I use ~800000 files
and 80000 directories on 4GB RAM system)
2. Create workload, that produces light page cache pressure (say, 4-8
MB/s) and while pagecache eats all of free ram. I use the code from [1])
3. Stat all the objects on xfs volume

The result depends on kernel version:
	3.2) See kswapd struggling through D-state for several minutes.
	3.7) See kswapd struggling through D-state forever

Same steps on ext4 do not produce any bad results

--
[1]	https://bugzilla.kernel.org/show_bug.cgi?id=53031

[2]


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xfs_inode slab
  2013-02-10  7:14 xfs_inode slab Nikolay S.
@ 2013-02-10 21:06 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2013-02-10 21:06 UTC (permalink / raw)
  To: Nikolay S.; +Cc: xfs

On Sun, Feb 10, 2013 at 11:14:09AM +0400, Nikolay S. wrote:
> Hello there,
> 
> I see some bad behavior of xfs, which I can reproduce:
> 
> 1. Create some directories and files on xfs volume (I use ~800000 files
> and 80000 directories on 4GB RAM system)
> 2. Create workload, that produces light page cache pressure (say, 4-8
> MB/s) and while pagecache eats all of free ram. I use the code from [1])
> 3. Stat all the objects on xfs volume
> 
> The result depends on kernel version:
> 	3.2) See kswapd struggling through D-state for several minutes.
> 	3.7) See kswapd struggling through D-state forever

I can't reproduce it on any of my test boxes (range from 1GB to 8GB
RAM) on XFS or ext4. Indeed, this is a stress test I use
all the time (file creation, traversal and removal under page cache
pressure using 50-100 million files), and I haven't seen a stall for
a long time....

> Same steps on ext4 do not produce any bad results
> 
> --
> [1]	https://bugzilla.kernel.org/show_bug.cgi?id=53031

Having looked at the bz, I don't see what XFS has to do with this
kswapd problem - it looks like it is THP/compaction related, and I
don't enable THP and/or compaction on my test machines. kswapd
is stuck deep in the VM on the page LRUs, so it doesn't look like an
XFS problem at all. If you turn off THP/compaction, does the problem
go away?

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-10 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-10  7:14 xfs_inode slab Nikolay S.
2013-02-10 21:06 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox