[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Squeezing more coroutines ?
- From: Stefan Sandberg <keffo.sandberg@...>
- Date: Wed, 30 May 2007 22:19:00 +0200
I don't want to be rude or anything, but whatever you're doing, there's
a better way!
Of course, if you're just killing time figuring out the limit, awesome.. :)
Bogdan Harjoc wrote:
While writing a performance testing tool, I chose Lua to describe a
set of tests that
run in parallel.
So far things are looking great, as far as both available cpu and
are concerned: after increasing LUAI_MAXCSTACK, I've been testing with
concurrent and mostly idle threads, created with lua_newthread().
for these is about 350M, i.e. a little over 1KB per created thread.
After a glance at the lua_State definition, it looks like there a
couple of members
that could be left out but nothing that would noticeably reduce
Has anyone managed to create something on the order of 1,000,000
If so, any tips on what to leave out from lua_State (or other places)