| 1. | | Introducing the WebKit FTL JIT (webkit.org) |
| 491 points by panic on May 13, 2014 | 96 comments |
|
| 2. | | ‘Alien’ creator H.R. Giger is dead (swissinfo.ch) |
| 418 points by lox on May 13, 2014 | 67 comments |
|
| 3. | | iMessage purgatory (adampash.com) |
| 386 points by mortenjorck on May 13, 2014 | 170 comments |
|
| 4. | | Octotree: the missing GitHub tree view (Chrome extension) (chrome.google.com) |
| 362 points by yblu on May 13, 2014 | 106 comments |
|
| 5. | | Computers are fast (jvns.ca) |
| 315 points by bdcravens on May 13, 2014 | 154 comments |
|
| 6. | | Source code of ASP.NET (github.com/aspnet) |
| 291 points by wfjackson on May 13, 2014 | 99 comments |
|
| 7. | | Big Cable says investment is flourishing, but their data says it's falling (vox.com) |
| 290 points by luu on May 13, 2014 | 53 comments |
|
| 8. | | Xeer (wikipedia.org) |
| 246 points by mazsa on May 13, 2014 | 117 comments |
|
| 9. | | Europe's top court: people have right to be forgotten on Internet (reuters.com) |
| 247 points by kevcampb on May 13, 2014 | 205 comments |
|
| 10. | | Pervasive Monitoring Is an Attack (tbray.org) |
| 250 points by kallus on May 13, 2014 | 27 comments |
|
| 11. | | MIT's Scratch Team releases Scratch 2.0 editor and player as open source (github.com/llk) |
| 239 points by speakvisually on May 13, 2014 | 61 comments |
|
| 12. | | Introducing Firebase Hosting (firebase.com) |
| 220 points by jamest on May 13, 2014 | 75 comments |
|
| 13. | | 3D Video Capture with Three Kinects (doc-ok.org) |
| 188 points by phoboslab on May 13, 2014 | 40 comments |
|
| 14. | | Ask HN: Can we get a "Show HN:" section |
| 191 points by pumpkinattwelve on May 13, 2014 | 34 comments |
|
| 15. | | Babun – A new Windows shell (babun.github.io) |
| 180 points by blearyeyed on May 13, 2014 | 108 comments |
|
| 16. | | Today at 16:53:20 GMT, it'll be 1400000000 in Unix time. (epochconverter.com) |
| 170 points by ozh on May 13, 2014 | 57 comments |
|
| 17. | | Lectures Aren't Just Boring, They're Ineffective, Too (news.sciencemag.org) |
| 163 points by robg on May 13, 2014 | 126 comments |
|
| 18. | | GitHub Pages with a custom root domain is slow (instantclick.io) |
| 156 points by dieulot on May 13, 2014 | 87 comments |
|
| 19. | | Found after 500 years, the wreck of Columbus's flagship the Santa Maria (independent.co.uk) |
| 146 points by adventured on May 13, 2014 | 52 comments |
|
| 20. | | A Test for School Reform in Newark (newyorker.com) |
| 141 points by savorypiano on May 13, 2014 | 232 comments |
|
| 21. | | Metaprogramming for madmen (fgiesen.wordpress.com) |
| 134 points by leeoniya on May 13, 2014 | 12 comments |
|
| 22. | | Scaling SQL with Redis (cramer.io) |
| 125 points by mclarke on May 13, 2014 | 35 comments |
|
| 23. | | Understanding SaaS: Why the Pundits Have It Wrong (a16z.com) |
| 123 points by moritzplassnig on May 13, 2014 | 27 comments |
|
| |
|
|
| |
|
|
| |
|
|
| 27. | | "If you're over 30, you're a slow old man" – Zuckerberg. He turns 30 tomorrow. (thedailywyatt.wordpress.com) |
| 108 points by tfang17 on May 13, 2014 | 134 comments |
|
| 28. | | ‘No Place to Hide,’ by Glenn Greenwald (nytimes.com) |
| 119 points by duck on May 13, 2014 | 41 comments |
|
| 29. | | Popular fish oil study deeply flawed, new research says (cbc.ca) |
| 104 points by fraqed on May 13, 2014 | 112 comments |
|
| 30. | | How ACH works: A developer perspective – Part 2 (zenpayroll.com) |
| 101 points by edawerd on May 13, 2014 | 34 comments |
|
|
| More |
Here's the starting point on my test system, an Intel Sandy Bridge E5-1620 with 1600 MHz quad-channel RAM:
Hmm, those 260,000 page-faults don't look good. And we've got 40% idle cycles on the backend. Let's try switching to 1 GB hugepages to see how much of a difference it makes: It's entirely possible that I've done something stupid, but the checksum comes out right, but the 10 GB/s read speed is getting closer to what I'd expect for this machine. Using these 1 GB pages for the contents of a file is a bit tricky, since they need to be allocated off the hugetlbfs filesystem that does not allow writes and requires that the pages be allocated at boot time. My solution was a run one program that creates a shared map, copy the file in, pause that program, and then have the bytesum program read the copy that uses the 1 GB pages.Now that we've got the page faults out of the way, the prefetch suggestion becomes more useful:
That gets us up to 14.5 GB/s, which is more reasonable for a a single stream read on a single core. Based on prior knowledge of this machine, I'm issuing one prefetch 512B ahead per 128B double-cacheline. Why one per 128B? Because the hardware "buddy prefetcher" is grabbing two lines at a time. Why do prefetches help? Because the hardware "stream prefetcher" doesn't know that it's dealing with 1 GB pages, and otherwise won't prefetch across 4K boundaries.What would it take to speed it up further? I'm not sure. Suggestions (and independent confirmations or refutations) welcome. The most I've been able to reach in other circumstances is about 18 GB/s by doing multiple streams with interleaved reads, which allows the processor to take better advantage of open RAM banks. The next limiting factor (I think) is the number of line fill buffers (10 per core) combined with the cache latency in accordance with Little's Law.