RE: NNTPC: Performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, more details for you  :)

Redhat linux 6.2


# vmstat
   procs                      memory    swap          io     system
cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy
id
 3  0  0    948   2404 293164  48640   0   0     0     2    4    11   7  10
10

# free
             total       used       free     shared    buffers     cached
Mem:        387460     384376       3084      11884     292932      47992
-/+ buffers/cache:      43452     344008
Swap:       527828        948     526880

Currently there are 5 client readers (The server is not used very much)

The server recently expired, so only 4Gb of the 35 Gb spool is used

Is there any other information you need?

----
Chris Picton
BTG Networks Systems Developer
Chris.Picton@BTGNet.net 

> -----Original Message-----
> From: Jaye Mathisen [mailto:mrcpu@internetcds.com]
> Sent: Friday, April 20, 2001 11:27 AM
> To: Chris Picton
> Subject: Re: NNTPC: Performance
> 
> 
> Why don't you run iostat and vmstat on your system and see 
> what's really
> going on?
> 
> If the disk system is busy, then generally, CPU time doesn't 
> accumulate while
> the process waits for I/O's to complete.  On the other hand, 
> maybe you're paging/thrashing.
> 
> But you don't say how many simultaneous readers you have, or 
> how much traffic
> you're moving through it, nor OS version, or system config, 
> so anything
> specific would be engaging in random speculation.
> 
> On Fri, Apr 20, 2001 at 11:19:08AM +0200, Chris Picton wrote:
> > Hi
> >  
> > I'm runnning into a bit of a problem on our nntpcache machine
> >  
> > The main nntpcache process seems to stay at about 90% cpu 
> usage (PII 350)
> >  
> > I am beginning to suspect the disk drives as causing a 
> bottleneck here.
> >  
> > I have a 35 Gig spool for the news articles mounted on
> > /usr/local/var/nntpcache.
> >  
> >  
> > In nntpcache.config, I have cacheDir set to 
> /usr/local/var/nntpcache/
> >  
> > The history files are in /usr/local/var/nntpcache
> > The cached news articles are in 
> /usr/local/var/nntpcache/news.upstream.net.
> >  
> > If I were to change the history file to be on a different 
> scsi disk, would
> > this improve my performance?
> > eg set historyFile to 
> /usr/local/var/nntpcache/history/cache.history, and
> > mount another scsi on /usr/local/var/nntpcache/history.
> >  
> > Would there be any other reason for nntpcached to be using 
> so much cpu?
> > 
> > Regards
> > 
> > ----
> > Chris Picton
> > BTG Networks Systems Developer
> > Chris.Picton@BTGNet.net 
> > 
> >  
> 


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux