Skip to content
  • Scotty Bauer's avatar
    BetaModule BetaModule2 MakeFiles · 908251ec
    Scotty Bauer authored
    
    
    Fixed bug in USE_FLOOD Macro that didn't properly update the slot we're supposed to be writing into.
    
    Test is 10k floods of 32 messages. BetaModule1 uses slow math (Imul/divu) while beta2 is using the fast math (and shl)
    
    Test1:
    Apr  3 13:42:01 localhost kernel: [  487.326686] MIN    MAX     AVG     MEDIAN
    Apr  3 13:42:01 localhost kernel: [  487.329795] 3244 & 144184 & 3728 & 3692
    Median time normalized per msg:115 cycles
    
    Test2:
    Apr  3 13:43:41 localhost kernel: [  587.197275] MIN    MAX     AVG     MEDIAN
    Apr  3 13:43:41 localhost kernel: [  587.200322] 4476 & 318180 & 4888 & 4794
    Median time noramlized per msg:149cycles
    
    Test3:
    Apr  3 13:44:14 localhost kernel: [  620.868921] MIN    MAX     AVG     MEDIAN
    Apr  3 13:44:14 localhost kernel: [  620.872026] 4176 & 156498 & 4613 & 4511
    Median time normalized per msg:140Cycles
    
    Signed-off-by: default avatarScotty Bauer <sbauer@eng.utah.edu>
    908251ec