Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mosedale@fafner.Stanford.EDU (Dan Mosedale)
Subject: Re: Alpha OSF/1 1.3A big proc, over-paging
Date: 18 Jan 1994 23:16:50 GMT	[thread overview]
Message-ID: <2hhql2$8pn@nntp2.Stanford.EDU> (raw)
In-Reply-To: CJH4GJ.6oK@mv.mv.com

cherkus@UniMaster.COM writes:
>>
>>Virtual Memory Statistics: (pagesize = 8192)
>> procs    memory         pages                          intr        cpu      
>>r  w  u  act  free wire fault cow zero react pin pout  in  sy  cs  us  sy  id
>>2 42 25  2604   88 1062  12M  73K 125K  10M  11M   1M 489  35 233  16   5  80
>>2 42 25  2602   82 1066  200    5   61   57   87   33 608  25 247   0   7  93
>>2 42 25  2590   88 1066  124    0   47   29   66   40 543  32 220   0   8  91
>>2 42 25  2593   84 1066  183    0   94   19   77   34 613  13 240   0   6  93
>>2 42 25  2596   85 1066  139    0   47   18   78   35 565  17 228   0   6  93
>>2 42 25  2597   85 1066  172    0   94   28   65   34 556  36 236   1   8  91
>>2 42 25  2605   69 1066  141    0   47   19   78   31 582  11 252   0   6  94
>
>>The thing is, syd shows the machine as having 30 megs of free space:
>>
>>OSF1   V1.3  -- DEC OSF/1 System Information Display Vers. 3.1 --   14:20:11 
>>CPU Mode Total Current     Processes    devintr      1884   freeswp     39128
>>User       0%      0%    Runnable    3  cntxtsw       758   freemem     30232
>>Nice      15%      0%    Sleeping   11  syscall       186   pagein        100
>>Kernel     4%      6%    Inactive   28  forks           0   pageout        54
>>Idle      79%     92%    UnintWait   5  vforks          0   swapio         -2
>>Load   0.00  0.02  0.02  Stopped     0  ttinch          0   dkxfers       180
>>Uptime  3 days,  4:11    Other       0  ttoutch      1324   dkblcks      1925
>
>I don't know how syd computes this.  I believe vmstat more accurately 
>reflects the problem you are having (i.e about 80 free main memory
>pages out of 2500).

Your posting and a few other notes have convinced me that syd is in
fact lying about how much free physical memory there is.  

>>> ps -o VFMT -p 975
>>  PID TT  STAT      TIME       SL PAGEIN   VSZ  RSS %CPU %MEM COMMAND
>>  975 ??  U N  759:13.00        0      0 71.2M 32.6  0.0 52.5 /share/s...
>
>The VSZ is very large.  How big is your main memory?  Probably not more
>than 71.2M.  The system has already given your proc 32MB.  How much
>more is there to give it?  It sounds like your system is overcommitted.  

There is only 64 megs of physical memory, which suggests that you've
hit the nail on the head.

>>Now the PAGEIN would seem to indicate that it's not actually crack
>>that is causing the paging.  However, it seems clear to me that it is.
>>Furthermore, using "ps -O RUSAGE -e" gives a list of all processes
>>except kernel processes, and every single process has 0 in the PAGEIN
>>column, which doesn't make much sense to me at all.
>
>Yes, many of the vm stats reported by ps are bogus.  I've qar'd this.
>I don't know if it will be fixed or not.  Perhaps you want to qar it 
>via dec support.

I just did this.

>I don't remember if crack is i/o intensive or not, but you may

At certain times it is; it reads and sorts large dictionaries of
words.

>want to restrict the amount of memory the filesystem can use.
>From /usr/sys/conf/param.c:
>
>#if     !defined(UBCMINPERCENT)
>int     ubc_minpercent = 10;
>#else
>int     ubc_minpercent = UBCMINPERCENT;
>#endif
>
>#if     !defined(UBCMAXPERCENT)
>int     ubc_maxpercent = 100;
>#else
>int     ubc_maxpercent = UBCMAXPERCENT;
>#endif
>
>This means that the file system will retain 10% of main memory and can
>grow to consume 100% of main memory.  You might want to tune the max
>down a bit if you think that the vm and the file system are competing
>for pages.

I may give this a shot.  In the meantime I've just stopped running
Crack on this machine.

>But, the one thing that would surely help is to add more memory or to
>more disks to swap to.  Having more disks would allow multiple swap
>operations to occur in parallel.  Since you have so much idle time,
>it is almost a sure bet that increasing the performance of the i/o
>system will result in increased throughput. 

Thanks for your help.
Dan
-- 
Dan Mosedale, Systems Admin            Email: mosedale@genome.Stanford.EDU
Stanford Genetics Department


      reply	other threads:[~1994-01-18 23:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-10 22:26 Alpha OSF/1 1.3A big proc, over-paging Dan Mosedale
1994-01-11 15:32 ` Steve Thompson
1994-01-11 16:29 ` Dave Cherkus
1994-01-18 23:16   ` Dan Mosedale [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox