[Gc] win32_pthreads tests and THREAD_LOCAL_ALLOC

Romano Paolo Tenca rotenca at telvia.it
Thu Jun 21 08:53:48 PDT 2007


I made some tests with gc70a statically linked and compiled with gcc 
version 3.2.3 (mingw special 20030504-1) (with a little change to permit 
-DUSE_MUNMAP)
using MT_GCBench2.c with some minor changes to permit execution with 
win32_pthread statically linked and mingw under Windows XP SP2.

CCFLAGS used:
    -O2 -DNO_EXECUTE_PERMISSION -DALL_INTERIOR_POINTERS
    -DNO_GETENV -DGC_WIN32_PTHREADS -DPTW32_STATIC_LIB
    -DNO_DEBUGGING -DNO_INCREMENTAL -DUSE_MUNMAP
    -DLARGE_CONFIG

Tests results are with 1, 2, 4, 8 threads:

no GC (uses sytem malloc)
Completed in 10094 msec
Completed in 13640 msec
Completed in 30203 msec
Completed in 60734 msec

GC
Completed in 984 msec
Completed in 9906 msec
Completed in 18000 msec
Completed in 32656 msec

GC and -DTHREAD_LOCAL_ALLOC
Completed in 1047 msec
Completed in 2157 msec
Completed in 4485 msec
Completed in 9047 msec

-- 

Romano Paolo Tenca



More information about the Gc mailing list