Yosef Meller <[EMAIL PROTECTED]> writes:

>              total       used       free     shared    buffers     cached
> Mem:        247604     223564      24040          0      12204      70176
> -/+ buffers/cache:     141184     106420
> Swap:       249472      10180     239292
>
> "used" as in not buffered or cached. I'm sorry if I wasn't clear.

This looks pretty decent for a system running X. Are you running KDE
(as it is Kubuntu)? Consider a lighter Window manager?

> This is what usually what gets recommended in forums and such. What do
> you consider 'the usual stuff' (if there is such a thing?)

The usual stuff is identify the bottleneck. It looked to me like you
were poking at the system at random, removing or optimizing stuff you
knew would not make a difference. What is the biggest memory hog? 

> The largest process I could find is Xorg, which (according to pmap)
> consumes about 150M, very little of it is libc and libdl.

Libc and friends are never a problem.

> Reduction in executable size, mostly achievable by removing
> unnecessary features

I seriously doubt you will get a significant improvement just by
recompiling. Let's be wildly, irrationally, exuberantly optimistic and
assume you will gain 10-20% (highly unlikely) - that won't help you,
really, will it?

"Removing unnecessary features" sounds more drastic to me than just
recompiling.

Most programs coming with major distros are already stripped. I
checked my FC4 and Xorg seems not to be stripped. You may try checking
(file(1)) and stripping (strip(1)) that, I don't know if it may cause
any problems. Keep a backup.

>>>I'd really like to go back to the 'swap is for Windows users' days,
>> When was that exactly?
>
> Two weeks ago, when I had Gentoo installed. Why do I deserve this
> tone, did I offend you?

Not at all. I have never heard that phrase before, that's all, and it
sounds strange to me. 

> The problem only starts when I run Matlab (and I expect to run some
> heavy tasks with it in the near future).

Ah, that's heavy beast. I have not used it in the last several years,
but it is easy to check the system requirements on

http://www.mathworks.com/support/sysreq/current_release/unix.html

- 512M RAM, 1024M recommended. Sorry, but it sounds like "swap
is for MatLab users." ;-)

-- 
Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to