Live data from Hacker News

Viewing profile — jared_hulbert

jared_hulbert

HN member
Joined
Thu, Jun 09, 2022, 5:08 PM UTC
HN karma
16
Public activity
28 items

About jared_hulbert

No profile information was provided.

Recent public activity

  1. comment
    Comment #45145423

    Just ran a version with 6 prefetching threads. I get 5.81GB/s. Same as the io_uring with 2 drives, but still a lot slower than the in memory solution.

  2. comment
    Comment #45143586

    Someone else suggested this, results are even worse by 2.5s.

  3. comment
    Comment #45142133

    When I run the 50GB in-mem setup I still have 40GB+ of free memory, I drop the page cache before I run "sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'" there wouldn't really be any…

  4. comment
    Comment #45141994

    The io_uring solution avoids this whole effort of mapping. It doesn't have to map the already-in-RAM pages at all. It reuses a small set of buffers. So there is a lot of random cac…

  5. comment
    Comment #45141749

    I get that. But I do actually show a scenario where accessing data from memory using a very standard mechanism IS slower than a newer but equally standard way of accessing data fro…

  6. comment
    Comment #45141621

    Adding MAP_HUGE_1GB and not MAP_HUGETLB does compile and run for me. Not convinced that its' actually doing anything. Performance is the same.

  7. comment
    Comment #45134692

    Not by a ton but if you add up the DDR5 channel bandwidth and the PCIe lanes most systems the PCIe bandwidth is higher. Yes. HBM and L3 cache will be higher than the PCIe.

  8. comment
    Comment #45134658

    Hmm. tmpfs was slower. hugetlbfs wasn't working for me.

  9. comment
    Comment #45134505

    spdk and I go way back. I'm confident it'd be about the same, possibly ~200-300MB/s more, I was pretty close to the rated throughput of the drives. Io_uring has really closed the g…

  10. comment
    Comment #45134258

    YES! gcc and clang don't like to optimize this. But they do if you hardcode the size_bytes to an aligned value. It kind of makes sense, what if a user passes size_bytes as 3? With …

  11. comment
    Comment #45134075

    I worked on SSDs for years. Too many people are suffering from insufficiently solid values of "disk" IMHO.

  12. comment
    Comment #45134043

    int fd = open(filename, O_RDONLY); void* buffer = mmap(NULL, size_bytes, PROT_READ, (MAP_HUGETLB | MAP_HUGE_1GB), fd, 0); This doesn't work with a file on my ext4 volume. What am I…

  13. comment
    Comment #45134007

    The original blog post title is intentionally clickbaity. You know, to bait people into clicking. Also I do want to challenge people to really think here. Seeing if the cached file…

  14. comment
    Comment #45133767

    https://www.intel.com/content/www/us/en/io/data-direct-i-o-t... AMD has something similar. The PCIe bus and memory bus both originate from the processor or IO die of the "CPU" when…

  15. comment
    Comment #45133734

    I tried with the log scale before. They failed to express the exponential hockey stick growth unless you really spend the time with the charts and know what log scale is. I'll work…

  16. comment
    Comment #45133626

    Would this actually create huge page page cache entries?

  17. comment
    Comment #45133612

    Lol. Thanks.

  18. comment
    Comment #45133546

    Oh man... I'd have look into that. Off the top of my head I don't know how you'd make that happen. Way back when I'd have said no. Now with all the folio updates to the Linux kerne…

  19. comment
    Comment #45133330

    Cool. Original author here. AMA.

  20. comment
    Comment #45133243

    In this context CXL is kinda storage and kinda higher latency RAM. It's latency is worse than standard DDR5 DIMMs but the bandwidth is on the same trajectory as storage/networking.…

  21. comment
    Comment #45132955

    We are seeing more SRAM in the form of CPU caches, this is one of the things that is actually scaling still. Are you asking why not use SRAM in something like a DIMM? You could do …

  22. comment
    Comment #45132597

    Original author AMA

  23. comment
    Comment #45132593

    https://www.bitflux.ai/blog/memory-is-slow-part2/

  24. comment
    Comment #44495917

    I found https://aokumo.ai/ Who else?

  25. story
    Show HN: Agents for DevOps? Demo

    I'm launching this project, looking for feedback. Seems obvious to me that Agents are, should be, or will soon be a part of every SRE/DevOps workflow like I do in this demo. Who is…