[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/soprano/backends/virtuoso
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-08-18 14:32:04
Message-ID: 20100818143204.ACE2FAC855 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1165213 by trueg:
Use a better value for MaxDirtyBuffers as recommended by Patrick van Kleef from OpenLink
M +2 -1 virtuosocontroller.cpp
--- trunk/kdesupport/soprano/backends/virtuoso/virtuosocontroller.cpp #1165212:1165213
@@ -281,6 +281,7 @@
numberOfBuffers = valueInSettings( settings, "NumberOfBuffers", numberOfBuffers ).toInt();
numberOfThreads = valueInSettings( settings, "ServerThreads", numberOfThreads ).toInt();
+ int maxDirtyBuffers = valueInSettings( settings, "MaxDirtyBuffers", numberOfBuffers*2/3 ).toInt();
int checkpointInterval = valueInSettings( settings, "CheckpointInterval", -1 ).toInt();
int minAutoCheckpointSize = valueInSettings( settings, "MinAutoCheckpointSize", -1 ).toInt();
@@ -331,7 +332,7 @@
cfs.setValue( "NumberOfBuffers", numberOfBuffers );
// down from 1200
- cfs.setValue( "MaxDirtyBuffers", "50" );
+ cfs.setValue( "MaxDirtyBuffers", maxDirtyBuffers );
// down from 10
cfs.setValue( "SchedulerInterval", "5" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic