Commit ab2496ea authored by Scotty Bauer's avatar Scotty Bauer
Browse files

BetaModule 4/1/15



This test we remove responses, this is esentially a one way message. We spam 10k messages and see how long it takes to place flag. We're trying to deduce where the cycles are coming from.

TEST1
[ 2929.510089] MIN      MAX     AVG     MEDIAN
[ 2929.513137] 44 & 160 & 47 & 48
TEST2
[ 3354.965156] MIN      MAX     AVG     MEDIAN
[ 3354.968268] 55 & 149 & 63 & 62
TEST3
[ 3531.555669] MIN      MAX     AVG     MEDIAN
[ 3531.558715] 55 & 7199 & 64 & 62

 740:   0f a2                   cpuid
 742:   0f 31                   rdtsc
 744:   41 89 d2                mov    %edx,%r10d
 747:   41 89 c1                mov    %eax,%r9d
 74a:   49 c1 e2 20             shl    bashx20,%r10
 74e:   45 89 c9                mov    %r9d,%r9d
 751:   4d 09 ca                or     %r9,%r10
 754:   8b 46 3c                mov    0x3c(%rsi),%eax
 757:   3d ad 6b 34 c1          cmp    bashxc1346bad,%eax
 75c:   75 f6                   jne    754 <ipc_thread_func+0x94>
 75e:   c7 46 3c ef be ad 0b    movl   bashxbadbeef,0x3c(%rsi)
 765:   0f 01 f9                rdtscp
Signed-off-by: Scotty Bauer's avatarScotty Bauer <sbauer@eng.utah.edu>
parent c5a5b166
......@@ -291,11 +291,11 @@ static int ipc_thread_func(void *input)
for (i = 0; i < FLOOD_SIZE; i++) {
#endif
wait_for_consumer_slot(cons_msg, cTok);
//wait_for_consumer_slot(cons_msg, cTok);
/* ack the msg */
//cons_msg->monitor = pTok;
local_cons++;
//local_cons++;
#if defined(USE_FLOOD)
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment