Re: [sqlmap-users] CPU utilization
Brought to you by:
inquisb
From: Miroslav S. <mir...@gm...> - 2010-03-15 12:18:07
|
Dear Kasper. Python has an "technical" issue dealing with multithreading programs. In part that it can't run threads on multiple cores, it has a really nasty "GIL" problem which is discussed here: http://www.snaplogic.com/blog/?p=94. Threading of sqlmap really speeds it up, but the side effect is that CPU-throttling you are talking about, especially in a high number of threads used. Kind regards. On Mon, Mar 15, 2010 at 12:55 PM, Kasper Føns <th...@ma...> wrote: > Hello sqlmap users. > > I have a question about how sqlmap utilizes the cpu. On my computer the > CPU being utilized is nearly always 50%, and since I have two cores I > suspect some thread to be in deadlock or maybe doing busy-waiting. > If using busy-waiting, I would suggest using an event-based approach > instead. > > /Kasper > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > sqlmap-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlmap-users > -- Miroslav Stampar E-mail / Jabber: miroslav.stampar (at) gmail.com Mobile: +385921010204 (HR 0921010204) PGP Key ID: 0xB5397B1B |