tweak some constants to silence latency sla warnings
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@825 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
eda514ddaa
commit
fe7ce3a785
2 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ void logtable<TUPLE>::flushTable()
|
|||
tsize = 0;
|
||||
tree_bytes = 0;
|
||||
|
||||
if(blocked && stop - start > 0.1) {
|
||||
if(blocked && stop - start > 1.0) {
|
||||
if(first)
|
||||
{
|
||||
printf("\nBlocked writes for %f sec\n", stop-start);
|
||||
|
|
|
@ -74,7 +74,7 @@ void mergeManager::set_c0_size(int64_t size) {
|
|||
*/
|
||||
void mergeManager::tick(mergeStats * s, bool block) {
|
||||
#define PRINT_SKIP 20
|
||||
pageid_t tick_length_bytes = 128*1024; // probably lower than it could be for production machines. 256KB leads to whining on my dev box.
|
||||
pageid_t tick_length_bytes = 64*1024; // probably lower than it could be for production machines. 256KB leads to whining on my dev box.
|
||||
|
||||
// if(s->bytes_in_small_delta > tick_length_bytes) {
|
||||
pageid_t new_current_size = s->base_size + s->bytes_out - s->bytes_in_large;
|
||||
|
|
Loading…
Reference in a new issue