SuperPages utilization survey
Florian Smeets
flo at FreeBSD.org
Wed Jun 6 23:26:14 UTC 2012
On 05.06.12 16:29, Mark Felder wrote:
> On Sat, 02 Jun 2012 06:49:18 -0500, Florian Smeets <flo at freebsd.org> wrote:
>
>> As far as i understand it does at least enable usage of pages up to 4MB,
>> perhaps someone should teach mysql about the FreeBSD's limits?
>> If you look at the output i sent, it certainly changes from using no
>> superpage mappings at all to using them to some degree, if you script
>> can be trusted
>
> Wow, this is a nice find. If someone were to add a patch for FreeBSD's
> superpages we might be able to get a nice little performance boost with
> little effort. Even the increase to 4MB for now is a welcome improvement.
> I'll make sure to put this in my toolbox....
I played with this some more. MySQL does not seem to use superpages.
After a mysqld restart Ivan's script and procstat showed superpage
mappings for mysqld, but it seems once MySQL "touches" the memory it's
not in superpages anymore. I looked at the MySQL code a bit and one
would need to add FreeBSD support in a couple of places. Perhaps I'll
find some time to try this, but i cannot make any promises.
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120606/195fbc0b/signature.pgp
More information about the freebsd-hackers
mailing list