Re: [Flightgear-devel] Cygwin slowness

2005-05-29 Thread Andy Ross
Matthias Fröhlich wrote: > I recently profiled flightgear with gprof and with callgrind. > One of the functions most cpu intensive function under Linux (fedora core 3) > is the isspace() function in split. > That might be even worse with the windows implementation of isspace. Well, at this point i

Re: [Flightgear-devel] Cygwin slowness

2005-05-29 Thread Mathias Fröhlich
On Freitag 27 Mai 2005 22:14, Andy Ross wrote: > Even weirder: comment out the split() call, which is 100% CPU-bound > (let me say that again: split() does no I/O and makes no direct calls > to the OS kernel), and the runtime goes down to 1.3 seconds. Huh? I recently profiled flightgear with gpro

Re: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Theo Reticle
Gear developers discussions Sent: Friday, May 27, 2005 4:14 PM Subject: [Flightgear-devel] Cygwin slowness Well, there's some progress.  I have a cygwin build, and it's everybit at slow as Vivian says it is.  And I've kinda/sorta isolated theproblem.  Here'

Re: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Theo Reticle
riginal Message - From: Andy Ross To: FlightGear developers discussions Sent: Friday, May 27, 2005 4:14 PM Subject: [Flightgear-devel] Cygwin slowness Well, there's some progress.  I have a cygwin build, and it's everybit at slow as Vivian says it is.  And I've kind

RE: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Norman Vine
Vivian Meazza writes: > > Andy Ross wrote: > > > > > Erik Hofman wrote: > > > Norman Vine wrote: > > > > FWIW I think these apply here > > > > http://www.catb.org/~esr/faqs/smart-questions.html#id3001405 > > > > http://www.catb.org/~esr/faqs/smart-questions.html#keepcool > > > > > > These two co

RE: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Vivian Meazza
Andy Ross wrote: > > Erik Hofman wrote: > > Norman Vine wrote: > > > FWIW I think these apply here > > > http://www.catb.org/~esr/faqs/smart-questions.html#id3001405 > > > http://www.catb.org/~esr/faqs/smart-questions.html#keepcool > > > > These two contradict (You can't offend them but they can

Re: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Andy Ross
Erik Hofman wrote: > Norman Vine wrote: > > FWIW I think these apply here > > http://www.catb.org/~esr/faqs/smart-questions.html#id3001405 > > http://www.catb.org/~esr/faqs/smart-questions.html#keepcool > > These two contradict (You can't offend them but they can offend you). > It's a nice document

Re: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Erik Hofman
Norman Vine wrote: FWIW I think these apply here http://www.catb.org/~esr/faqs/smart-questions.html#id3001405 http://www.catb.org/~esr/faqs/smart-questions.html#keepcool These two contradict (You can't offend them but they can offend you). It's a nice document on how to approach a three year o

RE: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Norman Vine
Erik Hofman writes: > > bass pumped wrote: > >>Well, I submitted it. Alas, it didn't go well. You can follow the > >>flame war here: > >> > >> http://cygwin.com/ml/cygwin/2005-05/threads.html#01305 > > > > I just read that... that guy certainly has a problem!!! > > Tell me about it, I've wor

Re: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Erik Hofman
bass pumped wrote: Well, I submitted it. Alas, it didn't go well. You can follow the flame war here: http://cygwin.com/ml/cygwin/2005-05/threads.html#01305 I just read that... that guy certainly has a problem!!! Tell me about it, I've worked with such an individual for more than five ye

Re: [Flightgear-devel] Cygwin slowness

2005-05-28 Thread Frederic Bouvier
Andy Ross a écrit : // // VERY bad performance characteristics when linked against // cygwin.dll. Watch under strace, and note that every N reads, there // is an inexplicable delay of several milliseconds. Spinning in the // malloc implementation? The Debug build of MSVC has the exact same

Re: [Flightgear-devel] Cygwin slowness

2005-05-27 Thread bass pumped
> Well, I submitted it. Alas, it didn't go well. You can follow the > flame war here: > > http://cygwin.com/ml/cygwin/2005-05/threads.html#01305 I just read that... that guy certainly has a problem!!! ___ Flightgear-devel mailing list Flightgear-d

Re: [Flightgear-devel] Cygwin slowness

2005-05-27 Thread Andy Ross
I wrote: > No, that's dumb. I may not like windows, but cygwin is one of the few > things that makes it bearable. :) > [...] > I'll try to dig up a cygwin mailing list to which to submit this. Well, I submitted it. Alas, it didn't go well. You can follow the flame war here: http://cygwin.co

Re: [Flightgear-devel] Cygwin slowness

2005-05-27 Thread Andy Ross
I wrote: > The bottom line is that this is a cygwin bug and we can't fix it, > sorry. Hopefully someone with more love for this platform than I > (I've done my time, heh) can forward this to them and get it fixed. No, that's dumb. I may not like windows, but cygwin is one of the few things that

RE: [Flightgear-devel] Cygwin slowness

2005-05-27 Thread Vivian Meazza
Andy Ross wrote: > Well, there's some progress. I have a cygwin build, and it's every > bit at slow as Vivian says it is. And I've kinda/sorta isolated the > problem. Here's a program: > >// g++ -o aptdat aptdat.cc -I$FG/SimGear -L$FG/lib -lsgmisc -lz >#include >#include >co

[Flightgear-devel] Cygwin slowness

2005-05-27 Thread Andy Ross
Well, there's some progress. I have a cygwin build, and it's every bit at slow as Vivian says it is. And I've kinda/sorta isolated the problem. Here's a program: // g++ -o aptdat aptdat.cc -I$FG/SimGear -L$FG/lib -lsgmisc -lz #include #include const int bufsz = 2048; char buf[b