benchmark

This commit is contained in:
Carl-Benedikt Krüger 2011-07-05 13:40:04 +02:00
parent 80fae7f995
commit 91f9201919
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ static int active = 0;
/* decide wheter it's uses locking or not
*/
static int disable_locking = 1;
static int disable_locking = 0;
/* decide whether deliver work to a worker thread or instantly process all packets
*/

View file

@ -35,7 +35,7 @@ extern "C" {
#define PAGE_SHIFT 12
#define CACHE_LINE 64
#define MAILBOX_SIZE 8
#define TIMER_FREQ 100 /* in HZ */
#define TIMER_FREQ 1000 /* in HZ */
#define CLOCK_TICK_RATE 1193182 /* 8254 chip's internal oscillator frequency */
#define INT_SYSCALL 0x80
#define KERNEL_SPACE (1*1024*1024*1024)