[rt-users] Performance (speed) of RT3

Dave Rolsky autarch at urth.org
Wed Nov 19 17:24:41 EST 2003


On Wed, 19 Nov 2003, Justin C. Sherrill wrote:

> On Tuesday 18 November 2003 04:38, John Schubert wrote:
>
> > Mem:   125372K av,  121600K used,   3748K free,  0k shrd, 1476K buff
> > Swap:  257000K av,  208860K used,  48140K free            280922K cached
>
> That's 97% of your real memory used up, and a lot of swap.  Since rt3 is the
> only thing running on the machine, that's probably the culprit.

Well, what does free tell you?  For example, my current desktop machine
says this in top:

Mem:   1033512k total,   960796k used,    72716k free,   200284k buffers
Swap:   136544k total,    73140k used,    63404k free,   518424k cached

But if I look at free:

             total       used       free     shared    buffers     cached
Mem:       1033512     960864      72648          0     200288     518644
-/+ buffers/cache:     241932     791580
Swap:       136544      73140      63404

So yes, it's using 960 MB of memory but really, a huge amount of that is
just buffered stuff.  If I started a whole bunch of other processes, I
don't know that I'd see a performance problem.

OTOH, the fact that you're using most of your swap space is probably not a
good thing.  OTOOH, as Jesse pointed out, you're running X, Gnome, and
trying to run RT on a machine with 128 MB.  On my machine, X by itself
usually has about 25MB resident, and various gnome bits take up another
10-20MB.  That'd leave you with a mere 65 MB or so for RT's needs.  An
apache+mod_perl process can easily take up 10-15MB a pop, so if you have 4
processes running, that'd leave 5MB for MySQL, which won't get your very
good performance.

Try _not_ running X and upgrading to something reasonable, like 512MB.
Then do some tuning so that you allocate a decent chunk of memory for
MySQL.  Out of the box, it isn't tuned at all.  Then tune Apache so that
it never spawns so many mod_perl children that you go to swap.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/



More information about the rt-users mailing list