pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <rjpeace@earthlink.net>
To: Jeremiah Jahn <jeremiah@cs.earlham.edu>
Cc: postgres performance <pgsql-performance@postgresql.org>
Subject: Re: extremly low memory usage
Date: Sat, 20 Aug 2005 17:23:25 -0400
Message-ID: <6.2.3.4.0.20050820171521.05bd0a38@pop.earthlink.net> (raw)
In-Reply-To: <1124561769.27881.200.camel@bluejay.goodinassociates.com>
References: <1124331108.27881.96.camel@bluejay.goodinassociates.com>
	<EA4219B9-E2B0-4756-ABF2-D84F245FDFB5@torgo.978.org>
	<1124386761.27881.119.camel@bluejay.goodinassociates.com>
	<4304CB77.4070403@arbash-meinel.com>
	<1124470109.27881.152.camel@bluejay.goodinassociates.com>
	<43061472.2080201@arbash-meinel.com>
	<6.2.3.4.0.20050819140714.05c181e8@pop.earthlink.net>
	<43063196.9000001@arbash-meinel.com>
	<1124485299.27881.192.camel@bluejay.goodinassociates.com>
	<43064A06.8020102@arbash-meinel.com>
	<1124561769.27881.200.camel@bluejay.goodinassociates.com>

At 02:16 PM 8/20/2005, Jeremiah Jahn wrote:
>I'm just watching gnome-system-monoitor. Which after careful 
>consideration.....and looking at dstat means I'm on CRACK....GSM isn't
>showing cached memory usage....I asume that the cache memory usage 
>is where data off of the disks would be cached...?
>
>memory output from dstat is this for  a few seconds:
>
>---procs--- ------memory-usage----- ---paging-- 
>--disk/sda----disk/sdb- ----swap--- ----total-cpu-usage----
>run blk new|_used _buff _cach _free|__in_ _out_|_read write:_read 
>write|_used _free|usr sys idl wai hiq siq
>   0   0   0|1336M   10M 4603M   17M| 490B  833B|3823B 3503k:1607k 
> 4285k| 160k 2048M|  4   1  89   7   0   0
>   1   0   0|1337M   10M 4600M   18M|   0     0 |   0     0 
> :   0   464k| 160k 2048M| 25   0  75   0   0   0
><snip>
>   1   0   0|1334M   10M 4596M   25M|   0     0 |   0     0 
> :   0    56k| 160k 2048M| 21   4  75   0   0   0

Then the "low memory usage" was a chimera.  Excellent!

Given the evidence in this thread, IMO you should upgrade your box to 
16GB of RAM ASAP.  That should be enough to cache most, if not all, 
of the 10GB of the "hot" part of your DB; thereby dedicating your HD 
subsystem as much as possible to writes (which is unavoidable HD 
IO).  As I've posted before, at $75-$150/GB, it's well worth the 
investment whenever you can prove it will help as we have here.

Hope this helps,
Ron Peacetree






view thread (39+ messages)  latest in thread

Message-ID: <6.2.3.4.0.20050820171521.05bd0a38@pop.earthlink.net>
Permalink:  ../6.2.3.4.0.20050820171521.05bd0a38@pop.earthlink.net/
Also on:    postgresql.org/message-id/6.2.3.4.0.20050820171521.05bd0a38@pop.earthlink.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: rjpeace@earthlink.net, jeremiah@cs.earlham.edu
  Subject: Re: extremly low memory usage
  In-Reply-To: <6.2.3.4.0.20050820171521.05bd0a38@pop.earthlink.net>
  References: <1124331108.27881.96.camel@bluejay.goodinassociates.com> <EA4219B9-E2B0-4756-ABF2-D84F245FDFB5@torgo.978.org> <1124386761.27881.119.camel@bluejay.goodinassociates.com> <4304CB77.4070403@arbash-meinel.com> <1124470109.27881.152.camel@bluejay.goodinassociates.com> <43061472.2080201@arbash-meinel.com> <6.2.3.4.0.20050819140714.05c181e8@pop.earthlink.net> <43063196.9000001@arbash-meinel.com> <1124485299.27881.192.camel@bluejay.goodinassociates.com> <43064A06.8020102@arbash-meinel.com> <1124561769.27881.200.camel@bluejay.goodinassociates.com> <6.2.3.4.0.20050820171521.05bd0a38@pop.earthlink.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox