Per Jessen wrote:
Per Jessen wrote:
I have a system with a single large JFS filesystem, about 600Gb with about 13% free space and millions and millions of files. It seems to be growing slower and slower (in accessing files and directories)- are there any tunable parameters that might help speed things up?
I've had a look at vfs_cache_pressure but I'm not sure I really understand what it does. The system has 10G of memory, about half of that is filesystem cache atm.
Does JFS have any utilities to tell you how fragmented the files, directories and free space is? Even on XFS, if file fragmentation down, one can have other types of fragmentation -- directory -- which you can only undo by creating a new directory and copying over the files and seeing if it is better (usually worse, but sometimes better). The one that is really bothersome is "free-space" fragmentation. W/XFS anyway, freespace is lumped together, in "extents" (contiguous space of some size), which are grouped by size to allow for fast allocation, but if your free space is fragmented so there is nothing more than 64K junks, then 1GB of space is still going to take a while to find space for (that would be a rather degenerate case)... 13% is getting close to space exhaustion -- 10-15% is usually the lower limit, though in practice I find it's best to keep drives below 75% usage for continued fast performance (not that I always do that, mind you, but when possible) -- if it is a mostly "read-only" drive, then lower amounts of free space are usually fine... But don't have experience w/JFS... so don't know what it's characteristics are. If it is possible, you might just try dumping the entire partition somewhere else and restoring it to a newly emptied drive -- that way space allocation can try to keep things together, might free up non-fragmented free space as well...? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org