[Debian] Re: Vswap config in Debian Squeeze

Ola Lundqvist ola at inguza.com
Mon Aug 8 07:34:05 EDT 2011


Ok, thanks. Then I do not need to change things. :-)

// Ola

Quoting "Kir Kolyshkin" <kir at parallels.com>:
> The vswap config (which sets everything to unlimited except for  
> physpages and swappages).
>
> Suffixes should be supported.
>
> Ola Lundqvist <ola at inguza.com> wrote:
>
>
> Hi Kir
>
> Quoting "Kir Kolyshkin" <kir at parallels.com>:
>> On 08/08/2011 08:49 AM, Ola Lundqvist wrote:
>>> Thanks Kir
>>>
>>> It turned out however that Aleksandr actually wanted to know  
>>> something else.
>>> And it was whether M,G,K keywords and "unlimited" keyword was supported.
>>> I pointed to the man page and told yes. :-)
>>
>> OK, thank you!
>>
>> Just to clarify -- the configs that Aleksandr is asking about
>> must not be used on a Debian OpenVZ kernel.
>
> The vswap config or the "human readable" things for "unlimited", "K",
> "G" and so on?
>
> If it is the later I think we should adjust the manpage.
>
> // Ola
>
>>> // Ola
>>>
>>> On Mon, Aug 08, 2011 at 01:07:03AM +0400, Kir Kolyshkin wrote:
>>>> VSwap is only supported by RHEL6-based kernel, which is not the same as
>>>> 2.6.32-based used by Debian.
>>>>
>>>> We are planning to build deb packages of our RHEL6-based kernel (or
>>>> convert binary rpms to debs). No ETA though.
>>>>
>>>> On 08/07/2011 03:23 PM, Ola Lundqvist wrote:
>>>>> Privet Aleksandr
>>>>>
>>>>> On Sat, Aug 06, 2011 at 08:08:17PM -0700, Aleksandr Levchuk wrote:
>>>>>>     Hi Ola,
>>>>>>     Thank you!
>>>>>>     I'm only interested in the human config values K,M,G,...
>>>>>>     and the "unlimited" keyword.
>>>>> The unlimited keyword is supported. It exists in
>>>>> ve-unlimited.conf sample file.
>>>>> It is also documented in vzctl man page. See man vzctl, section
>>>>> Resource limits.
>>>>>
>>>>> And as you can see from the man page also the human K,M,G is also
>>>>> supported.
>>>>>
>>>>> But was that really the original question? I thought you asked  
>>>>> about vswap
>>>>> support? It is not the same thing.
>>>>>
>>>>> The only thing I can find in vzctl about swap is swappages and  
>>>>> that is not
>>>>> vswap as far as I can tell.
>>>>>
>>>>> Best regards,
>>>>>
>>>>> // Ola
>>>>>
>>>>>>     (as shown in my example config)
>>>>>>     Alex
>>>>>>     On Saturday, August 6, 2011, Ola
>>>>>> Lundqvist<[1]ola at inguza.com>   wrote:
>>>>>>     >   Hi Alexksandr
>>>>>>     >
>>>>>>     >   Do you mean the kernel or the vzctl software? From what
>>>>>> I can tell it
>>>>>>     is
>>>>>>     >   only supported by RHEL6 based kernel, but I may be wrong here.
>>>>>>     >
>>>>>>     >   When I read about vswap I do not really understand the  
>>>>>> use of it.
>>>>>>     >
>>>>>>     >   In any case, I'm cc:ing the openvz debian list to see if
>>>>>> anyone there
>>>>>>     >   knows.
>>>>>>     >
>>>>>>     >   // Ola
>>>>>>     >
>>>>>>     >   On Fri, Aug 05, 2011 at 03:14:21PM -0700, Aleksandr
>>>>>> Levchuk wrote:
>>>>>>     >>   Dear Ola,
>>>>>>     >>
>>>>>>     >>   Does Debian Squeeze support the Vswap configs?
>>>>>>     >>
>>>>>>     >>   For example: ve-vswap-512m.conf-sample
>>>>>>     >>
>>>>>>     >>
>>>>>>     >>   ===========================
>>>>>>     >>   #  Copyright (C) 2000-2011, Parallels, Inc. All rights  
>>>>>> reserved.
>>>>>>     >>   #
>>>>>>     >>   #  This program is free software; you can redistribute  
>>>>>> it and/or
>>>>>>     modify
>>>>>>     >>   #  it under the terms of the GNU General Public License
>>>>>> as published
>>>>>>     by
>>>>>>     >>   #  the Free Software Foundation; either version 2 of
>>>>>> the License, or
>>>>>>     >>   #  (at your option) any later version.
>>>>>>     >>   #
>>>>>>     >>   #  This program is distributed in the hope that it will
>>>>>> be useful,
>>>>>>     >>   #  but WITHOUT ANY WARRANTY; without even the implied
>>>>>> warranty of
>>>>>>     >>   #  MERCHANTABILITY or FITNESS FOR A PARTICULAR  
>>>>>> PURPOSE.  See the
>>>>>>     >>   #  GNU General Public License for more details.
>>>>>>     >>   #
>>>>>>     >>   #  You should have received a copy of the GNU General
>>>>>> Public License
>>>>>>     >>   #  along with this program; if not, write to the Free Software
>>>>>>     >>   #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
>>>>>>     02111-1307  USA
>>>>>>     >>   #
>>>>>>     >>
>>>>>>     >>   # This config is valid for VSwap-enabled kernel (which  
>>>>>> currently
>>>>>>     means
>>>>>>     >>   # any RHEL6-based kernel, i.e. 042test* or 042stab*).
>>>>>>     >>
>>>>>>     >>   # UBC parameters (in form of barrier:limit)
>>>>>>     >>   PHYSPAGES="0:512M"
>>>>>>     >>   SWAPPAGES="0:1G"
>>>>>>     >>   KMEMSIZE="233M:256M"
>>>>>>     >>   LOCKEDPAGES="256M"
>>>>>>     >>   PRIVVMPAGES="unlimited"
>>>>>>     >>   SHMPAGES="unlimited"
>>>>>>     >>   NUMPROC="unlimited"
>>>>>>     >>   VMGUARPAGES="0:unlimited"
>>>>>>     >>   OOMGUARPAGES="0:unlimited"
>>>>>>     >>   NUMTCPSOCK="unlimited"
>>>>>>     >>   NUMFLOCK="unlimited"
>>>>>>     >>   NUMPTY="unlimited"
>>>>>>     >>   NUMSIGINFO="unlimited"
>>>>>>     >>   TCPSNDBUF="unlimited"
>>>>>>     >>   TCPRCVBUF="unlimited"
>>>>>>     >>   OTHERSOCKBUF="unlimited"
>>>>>>     >>   DGRAMRCVBUF="unlimited"
>>>>>>     >>   NUMOTHERSOCK="unlimited"
>>>>>>     >>   DCACHESIZE="unlimited"
>>>>>>     >>   NUMFILE="unlimited"
>>>>>>     >>   NUMIPTENT="unlimited"
>>>>>>     >>
>>>>>>     >>   # Disk quota parameters (in form of softlimit:hardlimit)
>>>>>>     >>   DISKSPACE="2G:2.2G"
>>>>>>     >>   DISKINODES="200000:220000"
>>>>>>     >>   QUOTATIME="0"
>>>>>>     >>
>>>>>>     >>   # CPU fair scheduler parameter
>>>>>>     >>   CPUUNITS="1000"
>>>>>>     >>   ===========================
>>>>>>     >>
>>>>>>     >>
>>>>>>     >>
>>>>>>     >>   Thanks!
>>>>>>     >>
>>>>>>     >>
>>>>>>     >>   Alex
>>>>>>     >>
>>>>>>     >>   --
>>>>>>     >>    
>>>>>> ----------------------------------------------------------------
>>>>>>     >>   Aleksandr Levchuk
>>>>>>     >>   Bioinformatics Systems and Databases
>>>>>>     >>
>>>>>> [2]http://facility.bioinformatics.ucr.edu/people/aleksandr-levchuk
>>>>>>     >>
>>>>>>     >>   Cell Phone: (951) 368-0004
>>>>>>     >>   Lab Phone: (951) 905-5232
>>>>>>     >>
>>>>>>     >>   Institute for Integrative Genome Biology
>>>>>>     >>   University of California, Riverside
>>>>>>     >>   ---------------------------------------------------------------
>>>>>>     >>
>>>>>>     >
>>>>>>     >   --
>>>>>>     >    --- Inguza Technology AB --- MSc in Information Technology ----
>>>>>>     >   /  [3]ola at inguza.com                    Annebergsslingan
>>>>>> 37        \
>>>>>>     >   |  [4]opal at debian.org                   654 65 KARLSTAD
>>>>>>           |
>>>>>>     >   |  [5]http://inguza.com/                Mobile: +46
>>>>>> (0)70-332 1551 |
>>>>>>     >   \  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF  
>>>>>> 0FE5 3DD9  /
>>>>>>     >    ---------------------------------------------------------------
>>>>>>     >
>>>>>>     --
>>>>>>     ----------------------------------------------------------------
>>>>>>     Aleksandr Levchuk
>>>>>>     Bioinformatics Systems and Databases
>>>>>>     [6]http://facility.bioinformatics.ucr.edu/people/aleksandr-levchuk
>>>>>>     Cell Phone: (951) 368-0004
>>>>>>     Lab Phone: (951) 905-5232
>>>>>>     Institute for Integrative Genome Biology
>>>>>>     University of California, Riverside
>>>>>>     ---------------------------------------------------------------
>>>>>>
>>>>>> Referenser
>>>>>>
>>>>>>     1. mailto:ola at inguza.com
>>>>>>     2. http://facility.bioinformatics.ucr.edu/people/aleksandr-levchuk
>>>>>>     3. mailto:ola at inguza.com
>>>>>>     4. mailto:opal at debian.org
>>>>>>     5. http://inguza.com/
>>>>>>     6. http://facility.bioinformatics.ucr.edu/people/aleksandr-levchuk
>>>>
>>
>>
>>
>
>
>
> --
>   --- Inguza Technology AB --- MSc in Information Technology ----
> /  ola at inguza.com                    Annebergsslingan 37        \
> |  opal at debian.org                   654 65 KARLSTAD            |
> |  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
> \  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
>   ---------------------------------------------------------------
>



-- 
  --- Inguza Technology AB --- MSc in Information Technology ----
/  ola at inguza.com                    Annebergsslingan 37        \
|  opal at debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
  ---------------------------------------------------------------



More information about the Debian mailing list