I'm no hardware nut, but..
I'm no hardware nut, but..
Posted Oct 2, 2008 3:51 UTC (Thu) by mbligh (subscriber, #7720)In reply to: I'm no hardware nut, but.. by dw
Parent article: Low-level tracing plumbing
> performance.
Yes. We want to pack as much data into the buffer as possible
> struct { uint32_t; uint32_t; uint32_t; }
That takes 3 times as much space! You're roughly having the amount of useful
data we can store in the trace buffer.
> struct { uint8_t; uint8_t; uint16_t; }
That doesn't leave enough space for the time counter. It's TSC stamping at roughly 2-4GHz, and we need accurate resolution to merge the per-cpu buffers back together. We don't want to log extended timestamp events (whenever your time counter rolls over) too often.
