Commit 2df6ebeb authored by David Wiesner's avatar David Wiesner
Browse files

Adjusted scheduling parameters to produce less cell collisions on large populations.

parent 8bc74923
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -683,7 +683,7 @@ void Scheduler<MV, PV>::RunFeeder_st(const size_t stopTimeStamp, const size_t th
		// true -- default EDF scheduling; may produce less cell collisions
		//
		// possible values < true, false >
		const bool useEDF = false;
		const bool useEDF = true;
		
		// limit maximum frames that are kept in RAM
		//
@@ -693,7 +693,8 @@ void Scheduler<MV, PV>::RunFeeder_st(const size_t stopTimeStamp, const size_t th
		// NOTE: should be at least the size of the longest cell phase
		//
		// possible values < budget_of_longest_phase, ... , SIZE_MAX-stopTimeStamp >
		const size_t maxFramesKeptInMemory = 1000;
		const size_t maxFramesKeptInMemory = (size_t) (((float) configIni["cell"]
			["number of frames per cell cycle"]) / 2.5f);
		
		// limit the time point spread between oldest and newest cell
		//