Re: Relocation patch for cygwin

2011-09-25 Thread jojelino
On 2011-09-26 AM 9:50, Charles Wilson wrote: Well, the libiconv distributed as an official cygwin package *SHOULD* not have been built with --enable-relocation, so only a subset of the "relocation" code *OUGHT* to be involved -- just enough for any calls to relocate() to return the passed-in stri

Re: Relocation patch for cygwin

2011-09-25 Thread Charles Wilson
On 9/23/2011 4:10 PM, jojelino wrote: > It fixed the relocation problem. but led performance issue :( > > $ time id > /dev/null > > real0m0.141s > user0m0.000s > sys 0m0.000s Well, the libiconv distributed as an official cygwin package *SHOULD* not have been built with --enable-reloc

Re: Relocation patch for cygwin

2011-09-25 Thread jojelino
On 2011-09-24 AM 5:10, jojelino wrote: The attached is report gprof produced when invoked *id* . as you can see, format_process_maps consumes 70% of the lifetime(0.5s with profiling overhead). this is reproducible whenever we do open('/proc/self/maps'). the problem is, the cost is too expensive.

Re: Relocation patch for cygwin

2011-09-24 Thread Christopher Faylor
On Sat, Sep 24, 2011 at 07:07:19AM +0200, Marco Atzeri wrote: >On 9/24/2011 7:01 AM, jojelino wrote: >> On 2011-09-24 PM 12:16, Christopher Faylor wrote: Flat profile: >>> >>> Please don't send this type of stuff here. You've just spammed hundreds >>> of people with many kilobytes data that ve

Re: Relocation patch for cygwin

2011-09-23 Thread Marco Atzeri
On 9/24/2011 7:01 AM, jojelino wrote: On 2011-09-24 PM 12:16, Christopher Faylor wrote: Flat profile: Please don't send this type of stuff here. You've just spammed hundreds of people with many kilobytes data that very few people care about. cgf I'm sorry about hundreds of spam mail. i keep

Re: Relocation patch for cygwin

2011-09-23 Thread jojelino
On 2011-09-24 PM 12:16, Christopher Faylor wrote: Flat profile: Please don't send this type of stuff here. You've just spammed hundreds of people with many kilobytes data that very few people care about. cgf I'm sorry about hundreds of spam mail. i keep myself from spamming by giving extern

Re: Relocation patch for cygwin

2011-09-23 Thread Christopher Faylor
On Sat, Sep 24, 2011 at 05:10:00AM +0900, jojelino wrote: >On 2011-01-29 AM 3:04, Charles Wilson wrote: >> On the cygwin list, Corinna Vinschen, one of the main cygwin developers >> and project lead, noticed a problem with libiconv's behavior on cygwin >> 1.7.x (which I'll follow up on the appropri

Re: Relocation patch for cygwin

2011-09-23 Thread Ryan Johnson
On 23/09/2011 4:10 PM, jojelino wrote: On 2011-01-29 AM 3:04, Charles Wilson wrote: On the cygwin list, Corinna Vinschen, one of the main cygwin developers and project lead, noticed a problem with libiconv's behavior on cygwin 1.7.x (which I'll follow up on the appropriate list, in a few days).