News for hackers. Stuff that matters.
Re:Libtorrent experience - the poor state of async disk IO by throwaway54-762 on Friday October 26, 2012 @05:14PM (#4704297)
4-8kB? Maybe physical memory overhead, if your code isn't too deep. But userspace thread stacks are anywhere from 128kB (FreeBSD) to 8MB (Linux) of virtual memory overhead.
Re:Libtorrent experience - the poor state of async disk IO by shrughes on Friday October 26, 2012 @05:25PM (#4704336)
Stacks can be made to be 4KB or 8KB if you want them to be.
Re:Libtorrent experience - the poor state of async disk IO by throwaway54-762 on Monday October 29, 2012 @08:36PM (#4715393)
Depends on what libc (or other) routines you call... going over the end of the stack is no fun. Lots of code seems to be written to rely on deep stacks in userspace.