lkml.org 
[lkml]   [1999]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Speeding up swap
In netuse.lists.linux-kernel Alan Cox writes:
>> 3. Are there any system calls available which can be utilized to
>> advise the system that a certain area of memory will always
>> be accessed as a contigous chunk of memory that should be
>> grouped contigously in a swap area if possible and to advise
>> the system that all memory accesses to this area will be

>BSD has madvise() but Linux doesnt yet have this facility.

Into the same direction goes the following question: How would I
advise the system that I am going to scan the following
multi-megabyte file only once, and that the contents of this
file need not enter any disk cache, because that would be
useless? Imagine a numerical algorithm sequentially scanning a
very large file for transformation or a video player streaming
from disk or something like that.

Kristian


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.064 / U:1.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site