lkml.org 
[lkml]   [2004]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why swap at all?
jlnance@unity.ncsu.edu wrote:
>>>cp should use fadvise() and say that it _really_ does not need those pages.
>>
>>Yes, indeed. On the other hand the sequential read could be detected by the kernel, too.
>
>
> I'm not sure. Copying a file is a pretty good indication that you
> are about to do something with either the new or the old file.
>
> Thanks,
>
> Jim

It is?

Sorry for butting in folks, but I've been reading this thread hoping to
see some possible solutions. Seems that a survey of best practices
might have been suggested, however, I haven't seen such a suggestion.

So here goes, might it not be of some benefit to see how other operating
systems (there are rather large number) handle the use of memory. For
just one example you could look at MVS, where the application can
request through various means how and how much memory it uses. Most
defaults can be overridden by the scripting language used to run the
application. This also true of other operating systems.

I would be more willing to say that the folks setting up the running of
systems should have far more control over the use or non use of cache
backed I/O data.

Now that I've said that you have to consider how and where this control
should be based.

<soapbox>

SWAP is a solution for the age old whine, I caused the system to run out
of memory and the big mean operating system terminated my application.

These days it allows the performance of the system to degrade to the
point that the whine goes, The big mean operating system is taking
forever to run my 10 TB backup and, by the way, it takes 3 days to wake
up my openoffice application that I started a week ago.

Ain't progress grand ;-)

</soapbox>

Cheers,
Dave



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

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