couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Chitipothu <anandol...@gmail.com>
Subject Re: using mutliple cores for view computation
Date Fri, 20 Mar 2009 11:59:48 GMT
> If they required more than a single core they would take different
> cores. But beam.smp is going to be waiting on blocking io while
> couchjs is working and vice versa so your kernel might be keeping them
> on the same core for efficiency.

Looks like there is some room for improvement here. The beam.smp can
prefetch the docs instead of waiting for couchjs to finish the task.

> If you started building another view
> it should bring up a new JS process and use a second core as expected.

Does it compute only the requested view or all the views in the design document?

> You should be able to estimate the amount of time it'll take from the
> status page in Futon.

Thanks, I didn't know about this.
It finished just 37%, it means it is going to take 10 more hours.

Mime
View raw message