Commit Graph

23 Commits

Author SHA1 Message Date
Thomas Preud'homme 037895a73b commtechs bench: Ready to bench
* Add a script to launch all binaries
* add a logclean target to Makefile
* git ignore logs
2009-06-18 22:16:29 +02:00
Thomas Preud'homme dc6cd83ac1 commtechs bench: BUGFIX in options parsing
* nb_prod was tested with nb_cache_lines
* buf_size is unused => removed
* nb_cache_line => nb_bufs_sent
2009-06-18 22:10:15 +02:00
Thomas Preud'homme e3b01f9357 commtechs bench: Reflect changes of papihighlevel
* commit 0ab6aa7576ac5ccdd9d0f99630016a2be87993b3 changed the API of
  print_result
2009-06-18 18:39:42 +02:00
Thomas Preud'homme d8b88b0e7f commtech bench: BUGFIX of initialization
* Initialization can be blocking
2009-06-18 18:33:12 +02:00
Thomas Preud'homme 274f3cfd1b communication techniques bench: refactoring (2)
Main changes:

* Better separation of what is common from what is specific to a
  communication technique
* Consumer wait initialization of all producer threads
2009-06-18 15:55:20 +02:00
Thomas Preud'homme b5575aa710 communication techniques bench: add c_cache_comm 2009-06-17 19:18:38 +02:00
Thomas Preud'homme ebbb03f65e communication techniques bench: BUGFIX
* -s really make the threads to be on a shared cache
2009-06-17 19:12:22 +02:00
Thomas Preud'homme b522ce373f communication techniques bench: typo 2009-06-17 18:22:03 +02:00
Thomas Preud'homme 4cdee1503e communication techniques bench: refactoring (1)
Main changes:
* change library initialization: initialization is done with
  init_library once and init_thread_comm by each thread
* cont is now directly accessed by main
* list of struct communication_assoc -> array of struct thread_comm
* struct communication_channel -> struct comm_channel
2009-06-17 18:15:16 +02:00
Thomas Preud'homme 68589566a7 Communication techniques bench: add fake comm 2009-06-17 15:47:12 +02:00
Thomas Preud'homme 3059605ed4 Communication techniques bench: add jikes barrier 2009-06-17 15:46:22 +02:00
Thomas Preud'homme 0a4da54fec Communication techniques bench: act more like a WB
* Send addresses of place in memory where another addresses has been
  stored
2009-06-16 13:22:08 +02:00
Thomas Preud'homme 85f383fd7d Communication techniques bench: ignore more files
* Ignore specific_comm.h symlink as it changes for each different target
2009-06-16 13:05:14 +02:00
Thomas Preud'homme 09bff9869e communication technique benchs: We send addresses
* uintptr_t -> void *
* main send addresses where it has written something in
2009-06-16 12:58:30 +02:00
Thomas Preud'homme 12494e2fbc More uniformity in communication techniques bench
* Only use 2 * BUF_SIZE bytes for shared_memory
2009-06-12 00:44:52 +02:00
Thomas Preud'homme 02db9b77f6 Bug in communication techniques bench
* prod_idx and cons_idx aren't declared volatile so compiler could
  sur-optimize access to these variable and lead to a deadlock
2009-06-12 00:39:25 +02:00
Thomas Preud'homme 471fdef61e Bug in communication techniques bench
* producers can finish before consumer and thus free the thread-local
  storage they have which could lead to sigsegv from consumer
2009-06-12 00:34:33 +02:00
Thomas Preud'homme e6912c4048 New technique in communication techniques bench
* shared_mem become shared_mem_opt
* Apparition of shared_mem (no optimisation)
2009-06-11 23:42:15 +02:00
Thomas Preud'homme 91c3ce6ca4 Fix in communication techniques bench
* Producers now wait consumer when needed
2009-06-11 23:41:39 +02:00
Thomas Preud'homme 7e939d50da Fix in communication techniques bench
* SHARED_MEM_SPACE is now based on BUF_SIZE
2009-06-11 23:35:41 +02:00
Thomas Preud'homme 44aacb978e Add a naive L2 shared option for comm techs bench 2009-06-10 23:30:24 +02:00
Thomas Preud'homme cc7da2e459 Let the choice of the path to papihighlevel
* Introduce 3 new variables:
  - LOCALDIR: base directory for looking after papihighlevel
  - PAPIHIGHLEVELINCDIR: include directory in $(LOCALDIR)
  - PAPIHIGHLEVELLIBDIR: library directory in $(LOCALDIR)
2009-06-10 11:16:11 +02:00
Thomas Preud'homme 9b4388a964 Add benchs to compare communication techniques 2009-06-10 09:58:50 +02:00