喵喵小喵喵
1.34K subscribers
1.52K photos
36 videos
8 files
10.8K links
大喵喵和小喵喵的转发频道。 No endorsement implied

投喂请前往附属群
Download Telegram
今天挑战了一下 12306 的延迟,结果是支付后一秒以内可以刷身份证进站查到新票
10🤯9
Forwarded from xkcd
https://github.com/xoreaxeaxeax/asm-hall-of-shame

Instruction latency analysis usually focuses on performance optimization—making code run as fast as possible. The Assembly Hall of Shame takes the opposite approach: searching for the absolute floor of single-instruction performance.
🏆 Current Champions 🏆

x86: fxrstor64

Strategy: Use fxrstor64 to load 512-byte FPU/MMX/XMM state from a high-latency MMIO region in the PCIe fabric, then starve the fabric while the load is in flight — a fleet of hammer cores pounds a different high-latency MMIO register with tight 4-byte reads, saturating the PCIe root complex and endpoint with non-posted transactions, so CPU 0's 512-byte fxrstor64 must queue behind all that contending traffic.

🏆 Score: 198,002,498,236 cycles

🏆 Time: 62 seconds
😈2