[Devel] Re: privvmpages problem in 2.6.15beta

Miroslav Ruda ruda at ics.muni.cz
Mon Mar 27 00:47:42 PST 2006


I have tried your patch, but nothing has changed.

I'm using 64bit kernel on amd64, suse 10 in hosting domain.
Virtual server is debian stable, 32bit version. For testing, I'm using
dselect (update command, nothing else).

When debian is started, I have

  cat /proc/user_beancounters
Version: 2.5 

    uid ref  resource                     held              maxheld 
  barrier                limit              failcnt
   101 1612: kmemsize                      673                  722 
  3578265              3816816                    0
             lockedpages                     0                    0 
       32                   32                    0
             privvmpages                  2370                 2750 
    22528                24576                    0
...

after dselect is used, I have

voden:~# cat /proc/user_beancounters
Version: 2.5 

    uid ref  resource                     held              maxheld 
  barrier                limit              failcnt
   101 1616: kmemsize                      677                 1193 
  3578265              3816816                    0
             lockedpages                     0                    0 
       32                   32                    0
             privvmpages                 16995                23041 
    22528                24576                    7
             shmpages                      640                  656 
     8192                 8192                    0

- no dselect process is running, but privvmpages is not back on values like before.

Then I have changed privvmpages using
vzctl set 101 --privvmpages 3578265:3578265

and again, before dselect I have
voden:~# cat /proc/user_beancounters
Version: 2.5 

    uid ref  resource                     held              maxheld 
  barrier                limit              failcnt
   101 1613: kmemsize                      673                 1193 
  3578265              3816816                    0
             lockedpages                     0                    0 
       32                   32                    0
             privvmpages                 16996                23041 
  3578265              3578265                    7
             shmpages                      640                  656 
     8192                 8192                    0
             dummy                           0                    0 
9223372036854775807  9223372036854775807                    0


and after dselect:

voden:~# cat /proc/user_beancounters
Version: 2.5 

    uid ref  resource                     held              maxheld 
  barrier                limit              failcnt
   101 1617: kmemsize                      677                 1208 
  3578265              3816816                    0
             lockedpages                     0                    0 
       32                   32                    0
             privvmpages                622519               628888 
  3578265              3578265                    7
             shmpages                      640                  656 
     8192                 8192                    0
             dummy                           0                    0 
9223372036854775807  9223372036854775807                    0

- held is (never?) decreased.

-- 
                   Mirek Ruda




More information about the Devel mailing list