Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Aug 2008 16:45:37 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Patrick =?iso-8859-1?Q?Lamaizi=E8re?= <patfbsd@davenulle.org>
Cc:        pjd@freebsd.org, current@freebsd.org
Subject:   Re: AMD Geode LX crypto accelerator (glxsb) (and padlock.ko)
Message-ID:  <200808072045.m77KjaGO098913@lava.sentex.ca>
In-Reply-To: <200808070234.m772YFvH094515@lava.sentex.ca>
References:  <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080706115414.GA20076@gw.reifenberger.com> <20080706234231.3d18e15a@baby-jane-lamaiziere-net.local> <200808070234.m772YFvH094515@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:34 PM 8/6/2008, Mike Tancsa wrote:
>At 05:42 PM 7/6/2008, Patrick Lamaizi=E8re wrote:
>
>>I think that the driver is ready and works fine, i didn't change
>>anything since the latest version "22/06/08"
>>http://user.lamaiziere.net/patrick/glxsb-220608.tar.gz
>
>Hi,
>         I was doing some testing with openvpn=20
> and was wondering if there is perhaps a memory leak ?
>
>Doing,
>openvpn --test-crypto --secret key --engine=20
>cryptodev --cipher aes-128-cbc > /dev/null
>
>seems to make the memory in use constantly go up
>
>0[nanobsdr7]# vmstat -h -m | egrep "Type|glx"
>          Type InUse MemUse HighUse Requests  Size(s)
>    glxsb_data  1381   173K       -     1381  128
>0[nanobsdr7]#
>....
>0[nanobsdr7]# vmstat -h -m | egrep "Type|glx"
>          Type InUse MemUse HighUse Requests  Size(s)
>    glxsb_data  1841   231K       -     1841  128
>0[nanobsdr7]#
>
>InUse is always going up ?  This is with the driver from the above url.


Actually, the padlock driver shows the same=20
behaviour.  Over time, its usage continues to grow

          Type InUse MemUse HighUse Requests  Size(s)
  padlock_data  4048  4048K       -     4048  1024

          Type InUse MemUse HighUse Requests  Size(s)
  padlock_data  4056  4056K       -     4056  1024

Or am I reading vmstat wrong ?

         ---Mike=20




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