Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 17:04:16 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Nicolas Haller <nicolas@boiteameuh.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Busy disk and page fault
Message-ID:  <alpine.BSF.2.00.0903091701500.2680@wojtek.tensor.gdynia.pl>
In-Reply-To: <20090309153057.GD1481@boiteameuh.org>
References:  <20090309153057.GD1481@boiteameuh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> The server is overload, the disk is 100% busy with 250 write operations
> per second and a throuput of 6MB/s.
> My first idea is because of mass random access/write on the disk. But I also see
> the server can make 20k page fault per second.

what page fault? most page faults in FreeBSD doesn't mean disk access, 
just no mapping present in page tables, which gets mapped after the fault.

Only if page is actually not present in memory it is fetched from disk.

top shows in what state is a process.
if it's biord or biorw - it's doing disk/file I/O, not swapping.

that's about FreeBSD part - about postgress part ask on postgress mailing 
list. i don't use it so i can't help you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903091701500.2680>