Bug #56358 My cluster used so many swap even if they have enough memory.
Submitted: 30 Aug 2010 9:40 Modified: 2 May 2012 11:53
Reporter: Sean Lee Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S5 (Performance)
Version:5.1.44-ndb-7.1.4b-cluster-gpl OS:Linux (ubuntu 8.04 64bit 2.6.24-24-server edition)
Assigned to: CPU Architecture:Any
Tags: Memory, swap, SwapCached

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[29 Sep 2010 14:21] Sean Lee
sysbench output on swappiness = 0

Attachment: no_swap.out (application/octet-stream, text), 15.38 KiB.

[29 Sep 2010 14:23] Sean Lee
sysbench output on swappiness is default 60

Attachment: has_swap.out (application/octet-stream, text), 15.38 KiB.

[29 Sep 2010 14:24] Sean Lee
sysbench output when swappiness is 60 and half ndb size

Attachment: half.out (application/octet-stream, text), 15.38 KiB.