public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Rebuilding make
@ 2013-01-09 10:58 Fedin Pavel
  2013-01-09 13:03 ` Fedin Pavel
  0 siblings, 1 reply; 9+ messages in thread
From: Fedin Pavel @ 2013-01-09 10:58 UTC (permalink / raw)
  To: cygwin

  Hello!

  I want to try my hands on improving 'make' performance by switching 
from fork() to spawn(). Actually, the code is already there, under 
#ifdef __EMX__, waiting to be reused. However i have some problems 
rebuilding it:
1. doc/fdl.texi and doc/make-stds.texi files are missing from the archive.
2. configure seems to incorrectly determine HAVE_DOS_PATHS as true. This 
breaks $abspath() function.

  I solved (1) by adding these files from the original UNIX archive. Of 
course i can solve (2) by tweaking config/dospaths.m4, however perhaps i 
don't know something ? How do you build make ?

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Rebuilding make
  2013-01-09 10:58 Rebuilding make Fedin Pavel
@ 2013-01-09 13:03 ` Fedin Pavel
  2013-01-10 19:47   ` Reini Urban
  0 siblings, 1 reply; 9+ messages in thread
From: Fedin Pavel @ 2013-01-09 13:03 UTC (permalink / raw)
  To: cygwin

On 09.01.2013 14:57, Fedin Pavel wrote:
> 1. doc/fdl.texi and doc/make-stds.texi files are missing from the 
> archive.
> 2. configure seems to incorrectly determine HAVE_DOS_PATHS as true. 
> This breaks $abspath() function.
>
>  I solved (1) by adding these files from the original UNIX archive. Of 
> course i can solve (2) by tweaking config/dospaths.m4, however perhaps 
> i don't know something ? How do you build make ?
  Just FYI: i have tweaked dospaths.m4 and built a working make. After 
this i successfully patched it to use spawn(). For benchmarking i used 
'all' then 'clean' targets on make's own source code.
--- cut ---
p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
$ time make.old

[skip]

real    0m45.759s
user    0m23.206s
sys     0m19.410s

p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
$ time make.old clean

[skip]

real    0m7.520s
user    0m2.767s
sys     0m4.268s

p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
$ time make

[skip]

real    0m31.869s
user    0m16.470s
sys     0m14.061s

p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
$ time make clean

[skip]

real    0m2.740s
user    0m0.748s
sys     0m1.643s

p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
$
--- cut ---
  'clean' target runs especially faster, you see the difference with a 
naked eye. I believe in case of gcc there's disk access factor.

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Rebuilding make
  2013-01-09 13:03 ` Fedin Pavel
@ 2013-01-10 19:47   ` Reini Urban
  2013-01-14  6:13     ` Fedin Pavel
  0 siblings, 1 reply; 9+ messages in thread
From: Reini Urban @ 2013-01-10 19:47 UTC (permalink / raw)
  To: cygwin

On Wed, Jan 9, 2013 at 7:02 AM, Fedin Pavel  wrote:
>> 1. doc/fdl.texi and doc/make-stds.texi files are missing from the archive.
>> 2. configure seems to incorrectly determine HAVE_DOS_PATHS as true. This
>> breaks $abspath() function.
>>
>>  I solved (1) by adding these files from the original UNIX archive. Of
>> course i can solve (2) by tweaking config/dospaths.m4, however perhaps i
>> don't know something ? How do you build make ?
>
>  Just FYI: i have tweaked dospaths.m4 and built a working make. After this i
> successfully patched it to use spawn(). For benchmarking i used 'all' then
> 'clean' targets on make's own source code.
> --- cut ---
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make.old
>
> [skip]
>
> real    0m45.759s
> user    0m23.206s
> sys     0m19.410s
>
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make.old clean
>
> [skip]
>
> real    0m7.520s
> user    0m2.767s
> sys     0m4.268s
>
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make
>
> [skip]
>
> real    0m31.869s
> user    0m16.470s
> sys     0m14.061s
>
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $ time make clean
>
> [skip]
>
> real    0m2.740s
> user    0m0.748s
> sys     0m1.643s
>
> p.fedin@fedinw7x64 /usr/src/make-3.82.90-1
> $
> --- cut ---
>  'clean' target runs especially faster, you see the difference with a naked
> eye. I believe in case of gcc there's disk access factor.

0m45.759s+0m7.520s => 0m31.869s+0m2.740s

Great! Can you gist the patches somewhere please?

-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Rebuilding make
  2013-01-10 19:47   ` Reini Urban
@ 2013-01-14  6:13     ` Fedin Pavel
  2013-01-14  6:20       ` Christopher Faylor
  0 siblings, 1 reply; 9+ messages in thread
From: Fedin Pavel @ 2013-01-14  6:13 UTC (permalink / raw)
  To: Reini Urban; +Cc: cygwin

On 10.01.2013 23:47, Reini Urban wrote:
> Great! Can you gist the patches somewhere please? 
  I tried to post patches from my home email address. But messages get 
rejected as spam. WTF ???

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Rebuilding make
  2013-01-14  6:13     ` Fedin Pavel
@ 2013-01-14  6:20       ` Christopher Faylor
  2013-01-14 13:53         ` Fedin Pavel
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher Faylor @ 2013-01-14  6:20 UTC (permalink / raw)
  To: cygwin

On Mon, Jan 14, 2013 at 10:12:12AM +0400, Fedin Pavel wrote:
>On 10.01.2013 23:47, Reini Urban wrote:
>> Great! Can you gist the patches somewhere please? 
>  I tried to post patches from my home email address. But messages get 
>rejected as spam. WTF ???

Calm down and READ the message you received.  It surely didn't tell you
to send implied profanity to the Cygwin mailing list.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Rebuilding make
  2013-01-14  6:20       ` Christopher Faylor
@ 2013-01-14 13:53         ` Fedin Pavel
  2013-01-14 15:17           ` Christopher Faylor
  2013-01-14 15:18           ` Adam Dinwoodie
  0 siblings, 2 replies; 9+ messages in thread
From: Fedin Pavel @ 2013-01-14 13:53 UTC (permalink / raw)
  To: cygwin

On 14.01.2013 10:19, Christopher Faylor wrote:
> Calm down and READ the message you received.  It surely didn't tell you
> to send implied profanity to the Cygwin mailing list.
  Sorry, i don't really understand you. What do you mean under profanity 
? Is it not allowed to post patches here ?

-- 
  Kind regards
  Pavel Fedin
  Expert engineer, Samsung Moscow research center


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Rebuilding make
  2013-01-14 13:53         ` Fedin Pavel
@ 2013-01-14 15:17           ` Christopher Faylor
  2013-01-14 18:11             ` Pavel Fedin
  2013-01-14 15:18           ` Adam Dinwoodie
  1 sibling, 1 reply; 9+ messages in thread
From: Christopher Faylor @ 2013-01-14 15:17 UTC (permalink / raw)
  To: cygwin

>On 14.01.2013 10:19, Christopher Faylor wrote:
>On Mon, Jan 14, 2013 at 01:19:54AM -0500, Christopher Faylor wrote:
>>On Mon, Jan 14, 2013 at 10:12:12AM +0400, Fedin Pavel wrote:
>>>On 10.01.2013 23:47, Reini Urban wrote:
>>>>Great! Can you gist the patches somewhere please?
>>>I tried to post patches from my home email address.  But messages get
>>>rejected as spam.  WTF ???
>>
>>Calm down and READ the message you received.  It surely didn't tell you
>>to send implied profanity to the Cygwin mailing list.
>
>Sorry, i don't really understand you.  What do you mean under profanity
>?  Is it not allowed to post patches here ?

I was referring to your "WTF ???".

I didn't say anything about not posting patches.  Of course you can post
patches.

You apparently knew that your mail was rejected as spam because you
received a bounce.  The bounce gave you information which did not tell
you to send a complaint here.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: Rebuilding make
  2013-01-14 13:53         ` Fedin Pavel
  2013-01-14 15:17           ` Christopher Faylor
@ 2013-01-14 15:18           ` Adam Dinwoodie
  1 sibling, 0 replies; 9+ messages in thread
From: Adam Dinwoodie @ 2013-01-14 15:18 UTC (permalink / raw)
  To: cygwin

Fedin Pavel wrote:
> On 14.01.2013 10:19, Christopher Faylor wrote:
>> Calm down and READ the message you received.  It surely didn't tell you
>> to send implied profanity to the Cygwin mailing list.
>
>   Sorry, i don't really understand you. What do you mean under profanity 
> ? Is it not allowed to post patches here ?

"WTF" is implied profanity.  cgf's point was that rather than complaining that
your message was rejected, you'd have better luck reading the rejection email
and follow the instructions there.

-- 
Adam Dinwoodie

Messages posted to this list are made in a personal capacity.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Rebuilding make
  2013-01-14 15:17           ` Christopher Faylor
@ 2013-01-14 18:11             ` Pavel Fedin
  0 siblings, 0 replies; 9+ messages in thread
From: Pavel Fedin @ 2013-01-14 18:11 UTC (permalink / raw)
  To: Christopher Faylor

Hello, Christopher.

14 января 2013 г., 18:17:33, you wrote:

> You apparently knew that your mail was rejected as spam because you
> received a bounce.  The bounce gave you information which did not tell
> you to send a complaint here.

 Ah, sorry for being impolite...
 I asked only because there was no meaningful or useful information in
the bounce message. It had only one line: "Spam score is too high".
 Well, does not matter any more.

-- 
Kind regards,
 Pavel                          mailto:pavel_fedin@mail.ru


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-01-14 18:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-09 10:58 Rebuilding make Fedin Pavel
2013-01-09 13:03 ` Fedin Pavel
2013-01-10 19:47   ` Reini Urban
2013-01-14  6:13     ` Fedin Pavel
2013-01-14  6:20       ` Christopher Faylor
2013-01-14 13:53         ` Fedin Pavel
2013-01-14 15:17           ` Christopher Faylor
2013-01-14 18:11             ` Pavel Fedin
2013-01-14 15:18           ` Adam Dinwoodie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).