Re: headsup: swap_pager.c
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 08/01/03
- Previous message: Dag-Erling Smørgrav: "Re: headsup: swap_pager.c"
- In reply to: Dag-Erling Smørgrav: "Re: headsup: swap_pager.c"
- Next in thread: Dan Nelson: "Re: headsup: swap_pager.c"
- Reply: Dan Nelson: "Re: headsup: swap_pager.c"
- Reply: M. Warner Losh: "Re: headsup: swap_pager.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: des@des.no (Dag-Erling Smørgrav) Date: Fri, 01 Aug 2003 12:02:00 +0200
In message <xzpel0568cn.fsf@dwp.des.no>, Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=
writes:
>"Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
>> The thing you overlook is that often when things gets paged out, the
>> system is short on memory and therefore more likely to not do anything
>> productive, whereas when things gets paged in, there are a better chance
>> of some other process being able to use the CPU time productively.
>> If we did predictive pageouts like some of the "serious" mainfram OS's
>> this would be less true.
>
>How hard would it be to get the kernel to write the pages "most likely
>to be swapped out" to swap in the idle loop, to save time if / when
>they actually need to be swapped out later?
I don't know :-)
Quite frankly, given the sizes of RAM we see these days, I think that
paging optimizations may be largely a thing of the past.
-- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Dag-Erling Smørgrav: "Re: headsup: swap_pager.c"
- In reply to: Dag-Erling Smørgrav: "Re: headsup: swap_pager.c"
- Next in thread: Dan Nelson: "Re: headsup: swap_pager.c"
- Reply: Dan Nelson: "Re: headsup: swap_pager.c"
- Reply: M. Warner Losh: "Re: headsup: swap_pager.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Random Restarts - Please Help
... I upgraded my BIOS a long time ago ... Beginners Guides: Diagnosing Bad Memory
... How to diagnose bad RAM ... (microsoft.public.windowsxp.help_and_support) - Re: Alocated Memory Error (SQLSERVR)
... but my understanding is that the MSDE instances are designed to ... and you
don't want it grabbing all that RAM. ... running but non ever going about 200mb of memory
usage. ... Server 2000 SP4, ... (microsoft.public.windows.server.sbs) - Re: help
... choices and found the RAM memory test option and ran it, ... second later that
the DIMM RAM chip showed error after error. ... I would bet that the fan ...
> inspection, and swapped suspected parts around, and got no boot ... (microsoft.public.windowsxp.general) - Re: How to set up a Linux machine that occupies the minimum memory footprint ?
... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying
that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have
... You've said in another message that your app is ... (comp.os.linux.setup) - Re: How to set up a Linux machine that occupies the minimum memory footprint ?
... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying
that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have
... You've said in another message that your app is ... (comp.os.linux.misc)