Re: [NTG-context] texexec with 2 processors?
En/na Mojca Miklavec ha escrit:
You cannot start processing page 500 before you know where page 499 wil end. TeX is not really a kind of application where you would gain a lot by parallelization. And honestly, I don't remember seing many applications using both cores. (Plus: I'm happy if other applications continue to run smoothly instead of being blocked by TeX using 95% of both processors.)
I did not say to process page 500 before the page 499. I just say use all power of the multiple processors.
It could be useful for offering typesetting services. I'm thinking about having a computation service like alpha.wolfram but with ConTeXt. Like ConTeXt online but benefit from multiple processors....
If you would offer a service, you would get multiple requests at the same time anyway, so there's no real need for that in this case (you'll face many more serious problems when offering typesetting service).
You are right here.
Joking, perhaps you could fix it in Mark VII ;-)
You can try XeTeX if you want to put load on both processors. It does offer a parallel process as far as I heard, Is it true? but then you'll probably want support for quad-core once you get a better computer :)
Mojca
Xan.
On Fri, Aug 28, 2009 at 10:26, Xan wrote:
En/na Mojca Miklavec ha escrit:
You cannot start processing page 500 before you know where page 499 wil end. TeX is not really a kind of application where you would gain a lot by parallelization. And honestly, I don't remember seing many applications using both cores. (Plus: I'm happy if other applications continue to run smoothly instead of being blocked by TeX using 95% of both processors.)
I did not say to process page 500 before the page 499. I just say use all power of the multiple processors.
Well, yes. But you need to delegate a time consuming task A to processor 1 and another time consuming task B to processor 2 where both tasks need to be independent from each other and then you may join the results at the end, else you spend more resources for communication between processors than for actual work.
You can try XeTeX if you want to put load on both processors. It does offer a parallel process as far as I heard,
Is it true?
As Taco confirmed, it seem to run xetex and xdipdfmx in separate processes. Mojca
En/na Mojca Miklavec ha escrit:
Well, yes. But you need to delegate a time consuming task A to processor 1 and another time consuming task B to processor 2 where both tasks need to be independent from each other and then you may join the results at the end, else you spend more resources for communication between processors than for actual work.
Mmm..... it should be analyzed ;-) Well, thanks a lot for the discussion, Xan.
Mojca Miklavec wrote:
As Taco confirmed, it seem to run xetex and xdipdfmx in separate processes.
another example is running luatex in a virtual machine using one cpu in which case some file/disk io is done by an other (due the layered disk handling) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Mojca Miklavec
-
Xan