Commit b9b53b7c authored by Mario Andres Serruya's avatar Mario Andres Serruya
Browse files

Redis tests

parent a0ed050a
......@@ -73,12 +73,13 @@ int32_t main (int32_t argc, char **argv)
return -1;
MPI_Barrier(MPI_COMM_WORLD);
sleep(5);
if (rank)
if (open_imss(imss_uri) == -1)
return -1;
if (!rank)
if ((datasetd = create_dataset(dataset_name, policy, num_blocks, dtset_blck_size, DRM)) < 0)
if ((datasetd = create_dataset(dataset_name, policy, num_blocks, dtset_blck_size, TRM)) < 0)
return -1;
MPI_Barrier(MPI_COMM_WORLD);
......@@ -104,7 +105,7 @@ int32_t main (int32_t argc, char **argv)
auto t2 = clk::now();
auto diff = std::chrono::duration_cast<std::chrono::microseconds>(t2-t1);
double result = (((dataset_size/world_size)/KB)/(diff.count()/1000000.0));
double result = ((((dataset_size/world_size)/KB)*TRM)/(diff.count()/1000000.0));
double *pieces = (double *) calloc(world_size, sizeof(double));
MPI_Gather(&result, 1, MPI_DOUBLE, pieces, 1, MPI_DOUBLE, 0, MPI_COMM_WORLD);
......
MPI deployment size: 4
DATASET SIZE in KB: 262144
4 KB,51.4522,55.5277,51.8012,57.0509,52.0479,55.4714,52.8196,56.3655,51.302,60.0597,52.4713,55.7669,52.6101,57.201,55.686,55.5188,53.7901,58.3055,53.9598,57.9148,
16 KB,132.42,152.79,139.136,144.647,145.305,149.272,142.328,143.335,135.994,147.818,141.076,147.328,145.676,144.963,143.674,146.518,135.836,148.395,136.724,152.686,
64 KB,265.225,244.982,220.034,239.271,259.68,248.531,248.64,249.351,257.494,246.998,249.473,244.048,260.731,245.945,254.838,246.033,252.978,251.993,223.137,252.447,
256 KB,295.924,295.925,349.307,284.175,291.902,301.517,282.035,294.264,404.367,306.749,298.204,310.83,409.66,282.163,295.848,303.749,300.882,287.745,370.136,307.963,
1024 KB,302.12,304.491,377.185,318.496,284.818,317.901,377.053,323.928,433.279,329.909,370.086,318.036,351.347,321.263,367.376,327.048,382.998,321.778,390.515,319.833,
4096 KB,364.326,350.673,323.374,326.568,400.163,345.556,309.456,353.906,390.569,366.677,345.262,353.452,415.5,360.293,301.187,350.715,374.594,357.132,386.034,350.618,
16384 KB,262.015,298.404,397.766,295.341,365.045,311.553,272.574,326.76,325.633,287.213,257.757,268.534,331.84,268.854,256.723,262.64,337.549,285.404,242.552,286.034,
65536 KB,300.277,354.8,302.504,357.591,295.383,357.218,300.696,358.138,301.057,351.014,300.365,356.008,301.078,350.358,299.521,356.834,298.022,355.522,301.284,352.194,
DATASET SIZE in KB: 1048576
4 KB,52.2792,54.3967,53.4759,56.5952,52.3625,58.8921,53.3483,56.5396,50.59,54.8573,54.6051,58.3249,54.3869,58.2941,57.2269,56.1951,52.0049,55.7633,54.8643,56.9623,
16 KB,134.089,143.099,138.487,140.015,136.159,152.491,141.772,135.448,136.362,137.922,137.008,139.681,141.45,142.481,138.726,142.169,140.001,138.382,135.965,141.59,
64 KB,236.595,236.932,219.148,234.241,244.007,239.158,219.126,234.528,217.2,242.038,220.351,238.487,238.37,233.621,221.659,236.967,253.437,233.895,236.894,232.326,
256 KB,294.583,293.057,300.693,282.818,357.929,313.076,292.933,289.371,293.331,293.509,294.144,277.335,380.817,291.219,358.645,285.72,298.921,304.089,292.992,282.887,
1024 KB,367.108,322.906,289.893,318.203,430.661,312.549,378.376,328.817,384.745,328.056,292.542,320.112,414.664,325.699,300.812,326.271,440.758,326.452,307.996,322.464,
4096 KB,285.403,328.851,362.925,321.206,413.415,340.494,406.09,339.783,300.48,326.584,385.313,336.254,376.956,337.561,292.962,332.436,348.604,336.284,411.439,332.985,
16384 KB,371.667,345.3,429.446,382.397,389.83,354.381,430.465,364.667,330.117,379.936,399.743,350.614,329.348,378.565,368.878,382.963,409.823,352.409,361.32,352.708,
65536 KB,364.244,314.329,266.641,310.436,274.93,312.809,292.245,288.43,371.443,317.746,287.309,288.876,336.932,281.752,309.968,284.987,305.578,319.927,343.76,314.09,
DATASET SIZE in KB: 4194304
4 KB,52.91,57.4367,52.1199,53.9276,53.7484,53.4955,51.9357,60.6081,53.6149,54.7128,55.7356,59.0393,50.903,57.3918,53.6607,54.9681,52.3293,55.0035,54.0485,54.1832,
16 KB,131.713,138.984,132.986,133.19,131.078,133.056,134.634,133.626,133.019,131.815,136.903,134.832,133.62,131.102,132.838,139.276,131.726,141.873,128.82,135.313,
64 KB,209.652,231.512,211.459,236.853,209.891,231.691,221.161,234.286,210.063,230.316,212.604,242.164,208.689,235.977,208.393,238.711,217.487,234.86,209.785,228.869,
256 KB,279.173,285.125,274.568,284.465,336.306,284.083,278.154,283.937,279.825,280.924,309.367,288.725,279.681,295.656,282.204,280.664,279.329,296.929,276.459,280.35,
1024 KB,290.42,307.015,291.401,309.823,320.182,313.347,380.286,308.925,293.811,302.057,350.891,314.89,345.465,303.356,287.576,298.625,295.434,309,372.928,312.544,
4096 KB,292.346,311.342,369.761,302.989,290.759,309.163,368.53,308.87,291.567,311.911,362.716,307.486,291.547,321.015,298.221,313.826,321.484,318.64,361.083,319.743,
16384 KB,379.888,345.622,327.416,332.084,302.367,315.057,315.197,323.697,301.06,336.14,365.408,325.571,298.965,320.498,380.84,329.301,356.794,312.682,325.598,319.556,
65536 KB,303.913,317.567,304.227,338.413,311.853,297.597,321.253,321.356,300.526,308.459,322.645,309.686,306.38,312.156,309.044,329.477,308.502,289.439,304.012,329.173,
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