[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extremely high overhead of 'par-map'
From: |
Mark H Weaver |
Subject: |
Re: Extremely high overhead of 'par-map' |
Date: |
Fri, 29 Mar 2013 19:18:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi Noah,
Noah Lavine <address@hidden> writes:
> Oh, sorry to email twice so soon, but I have an idea for making
> par-map usable in more cases: add a keyword argument called
> "block-size". Its value should be a positive integer, and the meaning
> is to have each thread do block-size iterations.
IMO, we should avoid adding anything like this. It would be hard for
callers to know what value to pass. I think it should be possible to
make 'par-map' act sensibly and efficiently without this kind of help.
> I tried to benchmark it, but got a segmentation fault. I think we
> have plenty of work to do here. :-)
Ouch. Can you please file a bug report with the full details?
Regards,
Mark