Re: fadvise DONTNEED implementation (or lack thereof)

2010-11-15 Thread Ben Gamari
On Mon, 15 Nov 2010 16:28:32 +0900 (JST), KOSAKI Motohiro wrote: > Who can make rsync like io pattern test suite? a code change is easy. but > to comfirm justification is more harder work. > I'm afraid I don't have time to work up any code. I would be happy to try the patch with my backup use-ca

Re: fadvise DONTNEED implementation (or lack thereof)

2010-11-14 Thread Brian K. White
On 11/14/2010 12:20 AM, Ben Gamari wrote: On Sun, 14 Nov 2010 14:09:29 +0900 (JST), KOSAKI Motohiro wrote: Because we have an alternative solution already. please try memcgroup :) Alright, fair enough. It still seems like there are many cases where fadvise seems more appropriate, but memcg s

Re: fadvise DONTNEED implementation (or lack thereof)

2010-11-13 Thread Ben Gamari
On Sun, 14 Nov 2010 14:09:29 +0900 (JST), KOSAKI Motohiro wrote: > Because we have an alternative solution already. please try memcgroup :) > Alright, fair enough. It still seems like there are many cases where fadvise seems more appropriate, but memcg should at least satisfy my personal needs s

Re: fadvise DONTNEED implementation (or lack thereof)

2010-11-09 Thread Ben Gamari
On Tue, 9 Nov 2010 16:28:02 +0900 (JST), KOSAKI Motohiro wrote: > So, I don't think application developers will use fadvise() aggressively > because we don't have a cross platform agreement of a fadvice behavior. > I strongly disagree. For a long time I have been trying to resolve interactivity

Re: fadvise DONTNEED implementation (or lack thereof)

2010-11-06 Thread Wayne Davison
On Wed, Nov 3, 2010 at 10:58 PM, Ben Gamari wrote: > It looks like a few folks have discussed addressing the issue in the past, > but nothing has happened as of 2.6.36. Yeah, the linux code for this has long been buggy and near useless. What is really needed is a way for some file access to be