Skip to content
  • Scotty Bauer's avatar
    BetaModule 4/1/15 · ab2496ea
    Scotty Bauer authored
    
    
    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: default avatarScotty Bauer <sbauer@eng.utah.edu>
    ab2496ea