Propose 2048 and 4096 buffer size for BatchQueue.

This commit is contained in:
Thomas Preud'homme 2011-05-27 15:33:02 +02:00
parent 1ca11d6fc5
commit bd7379e73a
5 changed files with 20 additions and 3 deletions

View File

@ -23,9 +23,10 @@ CC=gcc
BINNAMES:=batch_queue_2_comm batch_queue_4_comm batch_queue_8_comm
BINNAMES+=batch_queue_16_comm batch_queue_32_comm batch_queue_64_comm
BINNAMES+=batch_queue_128_comm batch_queue_256_comm batch_queue_512_comm
BINNAMES+=batch_queue_1024_comm lamport_comm shared_mem_opt_comm none_comm
BINNAMES+=csq_2_comm csq_64_comm fast_forward_comm mcringbuffer_comm pipe_comm
#BINNAMES+=jikes_barrier_comm asm_cache_comm
BINNAMES+=batch_queue_1024_comm batch_queue_2048_comm batch_queue_4096_comm
BINNAMES+=lamport_comm shared_mem_opt_comm none_comm csq_2_comm csq_64_comm
BINNAMES+=fast_forward_comm mcringbuffer_comm pipe_comm
#BINNAMES+=jikes_barrier_comm
CALCLIBSNAMES:=calc_mat calc_line calc_useless_loop
BINS:=$(patsubst %,$(BINDIR)/%,$(BINNAMES))
CALCLIBS:=$(patsubst %,$(LIBDIR)/$(CALCDIR)/lib%.so.1,$(CALCLIBSNAMES))

View File

@ -0,0 +1,7 @@
#ifndef _SPECIFIC_COMM_H_
#define _SPECIFIC_COMM_H_ 1
#define BUF_SIZE (1024 * CACHE_LINE_SIZE)
#include <batch_queue_common_comm.h>
#endif

View File

@ -0,0 +1,7 @@
#ifndef _SPECIFIC_COMM_H_
#define _SPECIFIC_COMM_H_ 1
#define BUF_SIZE (2048 * CACHE_LINE_SIZE)
#include <batch_queue_common_comm.h>
#endif

View File

@ -0,0 +1 @@
batch_queue.c

View File

@ -0,0 +1 @@
batch_queue.c