MySQL Forums
Forum List  »  NDB clusters

cluster network load
Posted by: Michael Dvorak
Date: May 15, 2006 07:31AM

hi all,

we setup an cluster of 2 data nodes and 4 api nodes. the mgm node runs on the api node.

hardware api-nodes:
2 X 3GHZ Xeon CPU
4 GB RAM
2 X 1000 MBit Ethernet (bonding)
2 X 36 GB HDD SCSI U320

hardware data-nodes:
2 X 3GHZ Xeon CPU
6GB RAM
2 X 1000 MBit Ethernet (bonding)
2 X 36 GB HDD SCSI U320

software:
os => sles9 sp3 64bit (em64t)
mysql => mysql-5.0.21-max
data size => 2,2 GB (ndbd size)

if we only connect 1 api node to the cluster and make a performance test with siege, then we reach the following performance values:

querys per second per api node: 1100 - 1400
apache response time: 2s
network traffic between data nodes: 60MBit - 80Mbit
network traffic between data - api node: 10MBit
cpu usage data node: 5-10%
load on data node: 1

if we connect 3 api nodes, then we get the following performance values:

querys per second per api node: 1100-1400
apache response time: 2,5s
network traffic between data nodes: 200Mbit - 220MBit
network traffic between data - api nodes: 10MBit
cpu usage data node: 15% - 20%
load on data node: 1,5 - 2

if we connect the 4th api node, then we have the problem that the data nodes dont process more data as with 3 api nodes.
the network traffic between the data nodes is also max. 220 MBit. wether the cpu nore the storage have a highly load. it seems that the network traffic between the data nodes is the bottleneck.

is the high traffic between the datanodes ok or not? the application we are testing, writes 1 row per page hit in the database. this means e.g. 700 rows per minute (140KB).

another problem is, when we activate the query cache on the api nodes (query_cache_size=128M) then the mysqld crashes.

here is our config:

/var/lib/mysql-cluster/config.ini

[NDBD DEFAULT]
NoOfReplicas=2
DataMemory = 5120MB
IndexMemory = 512MB
MaxNoOfConcurrentOperations = 100000
MaxNoOfLocalOperations = 110000
MaxNoOfAttributes = 2000
MaxNoOfOrderedIndexes = 5000
MaxNoOfUniqueHashIndexes = 5000
StartFailureTimeout = 1200000
TimeBetweenLocalCheckpoints = 22

[MYSQLD DEFAULT]

[TCP DEFAULT]

[NDB_MGMD DEFAULT]

[NDB_MGMD]
HostName=192.168.222.101
ArbitrationRank = 1

[NDBD]
HostName=192.168.222.201
DataDir=/var/lib/mysql-cluster

[NDBD]
HostName=192.168.222.202
DataDir=/var/lib/mysql-cluster

[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]


/etc/my.cnf

[mysqld]
ndbcluster
ndb-connectstring=192.168.222.101
engine_condition_pushdown = 1
port = 3306
skip-locking
skip-innodb

[mysql_cluster]
ndb-connectstring=192.168.222.101

thanks for your help!

Options: Reply• Quote


Subject
Views
Written By
Posted
cluster network load
2225
May 15, 2006 07:31AM
1515
May 20, 2006 12:04AM
1316
June 16, 2006 03:49AM
1274
June 18, 2006 09:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.