* Page swap
@ 2002-11-08 5:16 Mike Ni
2002-11-08 7:07 ` Ray Olszewski
0 siblings, 1 reply; 3+ messages in thread
From: Mike Ni @ 2002-11-08 5:16 UTC (permalink / raw)
To: linux-newbie
Folks,
I am having performance issue with one of the
application. It looks like it is running low on the
memory.
In addition to add new memory to the system, is there
anything can be done while we are waiting for the
memory upgrade?
Thanks in advance
MIke
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Page swap
2002-11-08 5:16 Mike Ni
@ 2002-11-08 7:07 ` Ray Olszewski
0 siblings, 0 replies; 3+ messages in thread
From: Ray Olszewski @ 2002-11-08 7:07 UTC (permalink / raw)
To: linux-newbie
At 09:16 PM 11/7/02 -0800, Mike Ni wrote:
>Folks,
>
>I am having performance issue with one of the
>application. It looks like it is running low on the
>memory.
>
>In addition to add new memory to the system, is there
>anything can be done while we are waiting for the
>memory upgrade?
Possibly any number of things, but what your real options are depend on the
details. Things you *might* be able to do include --
1. Add a swap partition ... but if the performance problem is a speed
issue, then slow swap probably will not help.
2. Reduce the number of other applications running on the system, so their
use of RAM is minimized.
3. Check the app itself for configuration options that might cause it to
use less memory.
4. If you are using a stock kernel, replace it with one customized for your
system. Custom kernels usually use less memory (though with today's typical
memory sizes, the benefit here is quite small, so this is only really
useful if we're talking about a dedicated system with really small RAM).
To get better advice, tell us the application involved, what the
performance problem is, why you believe it "looks like" it is running out
of memory, and the basics of your system (hardware, Linux distro and
version, kernel version). The output of "free" and the relevant line(s)
from "ps aux" (or some variant that reports memory usage) would probably
also be informative.
--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA ray@comarre.com
-------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Page swap
@ 2002-11-08 7:39 Calin Szonyi
0 siblings, 0 replies; 3+ messages in thread
From: Calin Szonyi @ 2002-11-08 7:39 UTC (permalink / raw)
To: cba20032002, linux-newbie
----- Original Message -----
From: Mike Ni <cba20032002@yahoo.com>
Date: Thu, 7 Nov 2002 21:16:26 -0800 (PST)
To: linux-newbie@vger.kernel.org
Subject: Page swap
> Folks,
>
> I am having performance issue with one of the
> application. It looks like it is running low on the
> memory.
>
> In addition to add new memory to the system, is there
> anything can be done while we are waiting for the
> memory upgrade?
>
Yes. You could add a swap file if you have enough
disk space:
dd if=/dev/zero of=path_to_your_file bs=1024 count=number_of_MB_you_want_to_add
mkswap -v1 path_to_your_file
swapon path_to_your_file
Also keep in mind that when the physical memory is
full and the application is alocating more and
mor memory your system will run at the speed of the hard drive
> Thanks in advance
> MIke
>
You're welcome
Bye
Calin
--
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr
Powered by Outblaze
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-08 7:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-08 7:39 Page swap Calin Szonyi
-- strict thread matches above, loose matches on Subject: below --
2002-11-08 5:16 Mike Ni
2002-11-08 7:07 ` Ray Olszewski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.