Hey, I have opposed this change in the past for two reasons:
Using more than 4 threads doesn't help unless the user is using PhraseDictionaryCompact. See this issue https://github.com/moses-smt/mosesdecoder/issues/39 in fact on most machines you rarely want to run moses on all available threads. Also - threads all picks up virtual (hyper) threads which are in fact harmful to performance. If you want to change the default I think it would be better to have a sane default like 4.. It would boost performance for most people and if you run it on machines with less available cores it would be not too bad. Cheers, Nick On 31 Jul 2015 7:31 pm, "Hieu Hoang" <hieuho...@gmail.com> wrote: > good suggestion. Changed: > > https://github.com/moses-smt/mosesdecoder/commit/f894dec0fd8d5b15eb16c35d3d2599338894ee9d > if you have any more suggestions, it's best if you can just me a patch and > I'll check it in > > On 31/07/2015 15:59, Vincent Nguyen wrote: > > > for inexperienced people like me :) > Add --decoder-flags="-threads 4" is key > > if EMS config.basic had "-threads all" by default we would gain A LOT of > time. > > cheers, > > Vincent > > > Le 29/07/2015 22:05, Vincent Nguyen a écrit : > > Hi, > > I am wondering what tasks of the EMS are really parallelized. > I activated the script line + 8 cores. > > Training / binarizing / Tuning all make only one core to actually work. > > Am I correct ? > _______________________________________________ > Moses-support mailing > listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support > > > > > _______________________________________________ > Moses-support mailing > listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support > > > -- > Hieu Hoang > Researcher > New York University, Abu Dhabihttp://www.hoang.co.uk/hieu > > > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support > >
_______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support