Commit b0e0040d authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

Merge neptunus.(none):/home/msvensson/mysql/same_tools/my41-same_tools

into  neptunus.(none):/home/msvensson/mysql/same_tools/my50-same_tools
parents b6cc1e69 dd2a184f
...@@ -1959,12 +1959,23 @@ sub ndbcluster_start_install ($) { ...@@ -1959,12 +1959,23 @@ sub ndbcluster_start_install ($) {
if (!$opt_bench) if (!$opt_bench)
{ {
# Use a smaller configuration # Use a smaller configuration
if ( $mysql_version_id < 50000 )
{
# 4.1 is using a "larger" --small configuration
$ndb_no_ord=128;
$ndb_con_op=10000;
$ndb_dmem="40M";
$ndb_imem="12M";
}
else
{
$ndb_no_ord=32; $ndb_no_ord=32;
$ndb_con_op=5000; $ndb_con_op=5000;
$ndb_dmem="20M"; $ndb_dmem="20M";
$ndb_imem="1M"; $ndb_imem="1M";
$ndb_pbmem="4M"; $ndb_pbmem="4M";
} }
}
my $config_file_template= "ndb/ndb_config_${nodes}_node.ini"; my $config_file_template= "ndb/ndb_config_${nodes}_node.ini";
my $config_file= "$cluster->{'data_dir'}/config.ini"; my $config_file= "$cluster->{'data_dir'}/config.ini";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment