答复: 答复: 答复: 答复: 答复: [distcc] Problem about Distcc on Windows not cygwin to compile ARM project

Feng Tan feng.tan at revoview.com
Wed Oct 8 08:02:55 GMT 2008


I have a question about the parallelism. How to judge this?

 

By the way do you have tried to use pump mode for Distcc on Windows?

 

Thanks.

  _____  

发件人: Fergus Henderson [mailto:fergus at google.com] 
发送时间: 2008年10月8日 15:57
收件人: Feng Tan
抄送: distcc at lists.samba.org
主题: Re: 答复: 答复: 答复: 答复: [distcc] Problem about Distcc on Windows not cygwin to compile ARM project

 

I didn't see anything obviously wrong in the log file.

It doesn't look like a locking problem.

 

Maybe your Makefile doesn't have sufficient parallelism?

 

Or maybe Windows / Cygwin is not switching tasks sufficiently often??

2008/10/8 Feng Tan <feng.tan at revoview.com>

 

I have figured out why there are always "backoff period" for some machines. 

 

When Distcc ran on Windows, which configured and compiled through Cygwin, the server must have Cygwin installed too.

 

Otherwise there will be no "home" directory on Windows and the Distcc will return fail.

 

But even after fix this issue, Distcc still only connect 4cpus at the same time, also I attached the debug file for your reference.

 

There is no "backoff or warning" now.

 

Thanks for your kindness.

  _____  

鍙戜欢浜?span lang="EN-US">: distcc-bounces+feng.tan=revoview.com at lists.samba.org [mailto:distcc-bounces+feng.tan <mailto:distcc-bounces%2Bfeng.tan> =revoview.com at lists.samba.org] 浠h〃 Feng Tan
鍙戦€佹椂闂?span lang="EN-US">: 2008骞?0鏈?鏃?/span> 12:35
鏀朵欢浜?span lang="EN-US">: 'Fergus Henderson'

鎶勯€?span lang="EN-US">: distcc at lists.samba.org

涓婚: 绛斿: 绛斿: 绛斿: 绛斿: [distcc] Problem about Distcc on Windows not cygwin to compile ARM project

 

Thanks I'll do more testing this afternoon.

If any update I'll let u know.

 

Thanks again for your help.

 

  _____  

鍙戜欢浜?span lang="EN-US">: Fergus Henderson [mailto:fergus at google.com] 
鍙戦€佹椂闂?span lang="EN-US">: 2008骞?0鏈?鏃?/span> 11:31
鏀朵欢浜?span lang="EN-US">: Feng Tan
鎶勯€?span lang="EN-US">: distcc at lists.samba.org
涓婚: Re: 绛斿: 绛斿: 绛斿: [distcc] Problem about Distcc on Windows not cygwin to compile ARM project

 

2008/10/7 Feng Tan <feng.tan at revoview.com>

That makes some sense, and this is no ADS installed on 192.168.0.232.

 

But I still have a question about the 

 

> Distcc [5364] (dcc_check_backoff) still in backoff period for revo-lufei/4,lzo

 

Why did this happen and how to avoid it?

This happens if distcc has previously, in the last minute or so, attempted to send a compilation to that host and had the request fail.

 

You can temporarily avoid it by doing removing the contents of the "state" and "lock" directories in your distcc directory (~/.distcc, or $DISTCC_DIR),

e.g. via "rm -rf ~/.distcc/state ~/.distcc/lock", before the start of your build.  However, as soon as distcc next sends a request and has the request fail,

it will then mark the host as "bad" for the backoff period (1 minute, IIRC), and will avoid sending new requests to that host during the backoff period.

 

-- 
Fergus Henderson <fergus at google.com>




-- 
Fergus Henderson <fergus at google.com>

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the distcc mailing list