Skip to content
Snippets Groups Projects
Commit 4fde6d87 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Increase work-stealing queue size to 1024

parent 4e3c18f0
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ class LawsScheduler: public Scheduler { ...@@ -11,7 +11,7 @@ class LawsScheduler: public Scheduler {
using WsQueue = adt::LockedQueue<Fiber*, SIZE>; using WsQueue = adt::LockedQueue<Fiber*, SIZE>;
public: public:
static const int QUEUE_SIZE = 128; static const int QUEUE_SIZE = 1024;
private: private:
adt::MpscQueue<Fiber>** priorityQueues; adt::MpscQueue<Fiber>** priorityQueues;
......
...@@ -14,7 +14,7 @@ class WsScheduler: public Scheduler { ...@@ -14,7 +14,7 @@ class WsScheduler: public Scheduler {
#endif #endif
public: public:
static const int QUEUE_SIZE = 128; static const int QUEUE_SIZE = 1024;
private: private:
WsQueue<QUEUE_SIZE>** queues; WsQueue<QUEUE_SIZE>** queues;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment