Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 07:02:13 +1000
From:      Kal Torak <kaltorak@quake.com.au>
To:        pzw@aabc.dk
Cc:        isp@freebsd.org
Subject:   Re: SV: Inactive memory in FreeBSD
Message-ID:  <3D88E9D5.8010109@quake.com.au>
References:  <E01A200E2339D311AF7E00508B319A2B04C84713@expers.aabc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
pzw@aabc.dk wrote:
> Well, yes, it might be a good thing when you have a lot of reoccurring
> tasks, and plenty of memory.
> 
> However, when you compile a program or FTP a file to the server, the chances
> of you doing that over and over again is almost null, therefore caching
> these processes are a total waste.

How is it a waste? By complining something things get moved into memory,
simply by not clearing that memory after the task is done is hardly a waste!

The memory isnt active, so it can be used by other programs if its needed,
but should the data in it be needed again its still there and saves a whole
heap of time accessing disks..

Its a win-win situation here... The memory is 'free' to be used but cached at
the same time!


> So, FreeBSD is best used for a server system, where you have more RAM than
> you use for all normal activity, and to prevent some seldom used tasks to
> hog up memory, you should reboot often.

You should NEVER EVER have to reboot unless:

1) You upgraded your system

2) You changed your kernel


> As a workstation system, you're better of using Windows or Linux, unless
> ofc. You're a secretary using the same word processor program day in and day
> out.

Thats not only total rubbish but has no relevance to this discusion.


> IMHO it would be a far better solution, for you to be able to specify the
> maximum amount of memory that a program could hog up, so you don't have to
> reboot all the time to free memory.

You can... Try reading some man pages...

But the point is the program is NOT hogging up anything!! And free memory is
wasted memory! Its a good thing when you have very little free memory and lots
of cached and inactive, you DONT want free memory!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D88E9D5.8010109>