Live data from Hacker News

Viewing profile — saman_b

saman_b

HN member
Joined
Wed, Aug 31, 2011, 3:25 PM UTC
HN karma
174
Public activity
41 items

About saman_b

No profile information was provided.

Recent public activity

  1. comment
    Comment #22198596

    I believe one should not confine event-driven only to applications that don't do synchronisation, that's part of the misconception that leads to thinking event-driven has higher pe…

  2. comment
    Comment #22196177

    The results of our to be published paper clearly confirm the claims of this paper and shows that if implemented well, threads can perform and scale as good as events with not much …

  3. comment
    Comment #13760068

    I think it was the "flash boys" by Michael Lewis, that mentioned a Russian programmer that was very good at programming with pen and paper, and the reason was in old days there wer…

  4. comment
    Comment #13337830

    Since IO Multiplexing in go is based on Edge-triggered epoll, you always need to do a write/read syscall (it happens underneath) before blocking the goroutine to arm the epoll to p…

  5. story
  6. comment
    Comment #12918188

    > I was also assuming a single kernel thread performs I/O via epoll/kqueue/etc. and either has its own queue from which other threads steal, or simply pushes results onto a random …

  7. comment
    Comment #12906010

    Thanks, so much information to absorb, let me go through all this and get back to you. I shoot you an email when I processed all this :)

  8. comment
    Comment #12906009

    Thanks, so much information to absorb, let me go through all this and get back to you. I shoot you an email when I processed all this :)

  9. comment
    Comment #12898693

    I am not sure if you are referring to the runQueue being used in Linux or the whole approach. I try to answer both: Run queues can be part of any scheduler, they are queues with ru…

  10. comment
    Comment #12898658

    Well on the surface, yes! when I started I expected the same. For now there is no work stealing among kThreads. But let me dig into the problem a bit deeper so you get an idea why …

  11. comment
    Comment #12898018

    Thanks for mentioning this, it is indeed very related and very interesting. I am not sure why not me or people around me were aware of Qthread, it has very good support for various…

  12. comment
    Comment #12897746

    Seems like a very mature library, I can't answer your question before I go through their documentation and code. Also, I find your question a bit abstract, since I am not aware of …

  13. comment
    Comment #12896526

    I have seen this before. Those are very good points, and I am trying to move this library towards supporting a SEDA type architecture with dynamic control and auto tuning runtime p…

  14. comment
    Comment #12896515

    Do you have anything specific in mind? The only code I found similar to this is uC++ [1], which has way more features and more sophisticated scheduler. I am using this as part of m…

  15. comment
    Comment #12895710

    Good idea, I probably write a blog post on this later. If you take a look at [1], I explain the difference between N:1 and M:N mappings. StateThreads uses a N:1 mapping which means…

  16. comment
    Comment #12895638

    In libdill approach, you are probably limited to only multiplex connections over multiple kernel threads. And when a connection is accepted over a kernel thread it has to perform a…

  17. comment
    Comment #12895402

    You are right, I have access to machines with higher number of cores, but they have multiple sockets and at some point I need to address the cross NUMA cost which adds a whole new …

  18. comment
    Comment #12894790

    Yes, there is a specific reason behind it, but in the future I might consider a less restrictive license.

  19. comment
    Comment #12894193

    Thanks, oh all those fancy functions. I need to improve the interface a bit, as for now everything is only based on using uThreads as the unit of concurrency. e.g., this is a recur…

  20. comment
    Comment #12894019

    Right, however segmented stacks are have high overhead and stack copying is not very easy in C/C++. Thus, for now uThreads only support fixed size stacks, I know it makes it harder…

  21. comment
    Comment #12893750

    Thanks! good point; now that I look at the page, there is not a single sample code in there. I'll update it soon.

  22. comment
    Comment #12893520

    Hi, I developed uThreads. I looked at lthreads quickly, and it seems lthreads only maps multiple coroutines onto a single pthread (N:1). Although, it adds the possibility of runnin…

  23. story
  24. story
  25. story