Live data from Hacker News

Viewing profile — Lectem

Lectem

HN member
Joined
Sun, Jul 01, 2018, 11:19 AM UTC
HN karma
18
Public activity
13 items

About Lectem

No profile information was provided.

Recent public activity

  1. comment
    Comment #46836253

    >You say this with zero data. Or so you assume > Spinning by pausing or doing anything else results in worse performance. We measured this countless times. And I've seen the issue …

  2. comment
    Comment #46808926

    I mean my "No it isn't, it has a fixed number of yields, which has a very different duration on various CPUs" can be verified directly by having a look at the table in my article s…

  3. comment
    Comment #46807092

    I suppose you need to be able to read data from the buffers to know what parts of the graph to cull? Is computing the graph really long or the graph needs update mid execution? If …

  4. comment
    Comment #46807055

    That's a spin loop ;)

  5. comment
    Comment #46806191

    That's how they are supposed to work indeed! But spin locks aren't the only spin loops you may find, and allocator for example do spin. And for example under an allocation heavy co…

  6. comment
    Comment #46806178

    The issue with that is that a load fence may be very detrimental to perf. It doesn't really matter if rdtsc executes out of order in this code anyway, and there is no need for sync…

  7. comment
    Comment #46806140

    I've heard of issues on Arm devices with properly isolated cores (only one thread allowed, interrupts disabled) because the would interact with other threads using such a spinlock,…

  8. comment
    Comment #46806093

    > which themselves do a short userspace spin-wait and then fall back to a kernel wait queue on contention. Yes, but sadly not all implementations... The point remains that you shou…

  9. comment
    Comment #46806065

    The author (me) actually read this long ago > - It as an optimal amount of spinning No it isn't, it has a fixed number of yields, which has a very different duration on various CPU…

  10. story
  11. comment
    Comment #21871145

    Yeah... why share something that is 2 years old ?

  12. comment
    Comment #18745363

    Looks like ArtStation didn't bribe Google like the rest of the big apps like Instagram, Facebook, Twitter... I'm surprised people forget that Google now IS evil and corrupt, and ar…

  13. comment
    Comment #17435122

    I wouldnt trust google with anything anymore. Their customer support (entreprise or not) always sucked. They're always "right". You can only suffer the damage silently unless you'r…