size_t Set_InsDel_string::s_nInsertThreadCount = 4; // count of insertion thread
size_t Set_InsDel_string::s_nDeleteThreadCount = 4; // count of deletion thread
size_t Set_InsDel_string::s_nThreadPassCount = 4; // pass count for each thread
+ size_t Set_InsDel_string::s_nFeldmanThreadPassCount = 4; // pass count for Feldman
+ size_t Set_InsDel_string::s_nSkiplistThreadPassCount = 4; // pass count for Skiplist
size_t Set_InsDel_string::s_nMaxLoadFactor = 8; // maximum load factor
size_t Set_InsDel_string::s_nCuckooInitialSize = 1024;// initial size for CuckooSet
void Set_InsDel_string::SetUpTestCase()
{
- cds_test::config const& cfg = get_config( "map_insdel_string" );
+ cds_test::config const& cfg = get_config( "sequential_map_insdel_string" );
s_nSetSize = cfg.get_size_t( "MapSize", s_nSetSize );
if ( s_nSetSize < 1000 )
if ( s_nThreadPassCount == 0 )
s_nThreadPassCount = 4;
- s_nMaxLoadFactor = cfg.get_size_t( "MaxLoadFactor", s_nMaxLoadFactor );
+ s_nFeldmanThreadPassCount =
+ cfg.get_size_t("FeldmanThreadPassCount", s_nFeldmanThreadPassCount);
+ if (s_nFeldmanThreadPassCount == 0)
+ s_nFeldmanThreadPassCount = 4;
+
+ s_nSkiplistThreadPassCount = cfg.get_size_t("SkiplistThreadPassCount",
+ s_nSkiplistThreadPassCount);
+ if (s_nSkiplistThreadPassCount == 0)
+ s_nSkiplistThreadPassCount = 4;
+
+ s_nMaxLoadFactor = cfg.get_size_t("MaxLoadFactor", s_nMaxLoadFactor);
if ( s_nMaxLoadFactor == 0 )
s_nMaxLoadFactor = 1;