xfs
[Top] [All Lists]

Re: xfs_fsr, performance related tweaks

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: xfs_fsr, performance related tweaks
From: Just Marc <marc@xxxxxxxxx>
Date: Fri, 29 Jun 2007 07:21:58 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <46841C60.5030207@sandeen.net>
References: <4683ADEB.3010106@corky.net> <46841C60.5030207@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.4 (X11/20070622)
Hi Eric,

In my particular case, and I'm sure for many other people, files that are stored never change again until they deleted. I hinted that there could be a command line switch to turn this functionality on, as it may not be perfect for everyone's use cases.

If nobody likes this still, I would appreciate some hints on how to mark files as no-defrag from within fsr itself given that I only have the file descriptor ... A hack like looking up the descriptor in /proc/self/fd should work, but is linux specific and is too hackish in my opinion. I'd like to at least have a nice simple patch for my own uses.

Marc


Eric Sandeen wrote:
Just Marc wrote:

2. Files for which 'No improvement will be made' should also be marked as no-defrag, this will avoid a ton of extra work in the future.

But... that file could drastically change in the future, no? Just because it can't be improved now doesn't necessarily mean that it should never be revisited on subsequent runs, does it?

-Eric




<Prev in Thread] Current Thread [Next in Thread>