On 03/07/08 Yanko Hernández Álvarez wrote:
> Ok, then there is one question left: is there any way to program this
> using threads without the GC interfering? any ideas?

It looks like the GC needs a little manual tuning for your app.
For a 600 MB file on a dual core with 2 threads running a good
default seems to be setting an initial heap size of 10 MB:
        GC_INITIAL_HEAP_SIZE=10000000 mono yourprog.exe
With 4 threads (which is sort of equivalent to 8 threads on a 4 cpu
hyperthreaded box) you need about 20 MB, but try also with more
and measure what's best for your workload (and please report back your
results).

lupus

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to