Re: UG + other slowness

2003-08-14 Thread Garst R. Reese
Andre Poenitz wrote:
 
 On Sun, Aug 10, 2003 at 06:18:07PM -0300, Garst R. Reese wrote:
  Garst R. Reese wrote:
  
   Andre Poenitz wrote:
 
 Don't know either.
 
 Could you try to run lyx2lyx manually on UserGuide.lyx to create a
 UserGuide.lyx in the latest format and load this?

I've already tried that. No help.
Thanks,
  Garst


Re: UG + other slowness

2003-08-14 Thread Garst R. Reese
Andre Poenitz wrote:
 
 You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
 profile, but no debug information. This links much faster than the
 debug-enabled version and should shoul the bottleneck nevertheless.

OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
large file to display!

Thanks,
 Garst


Re: UG + other slowness

2003-08-14 Thread Garst R. Reese
Garst R. Reese wrote:

  Could you try to run lyx2lyx manually on UserGuide.lyx to create a
  UserGuide.lyx in the latest format and load this?
 
 I've already tried that. No help.
 Thanks,
   Garst

Looks like I was wrong. Running lyx2lyx on my large file made it come up
quickly.
Manual lyx2lyx took about 7s. My guess is that there is a race
somewhere.
Hopefully it will go away as the cleanup continues.

Garst


Re: UG + other slowness

2003-08-14 Thread Andre Poenitz
On Sun, Aug 10, 2003 at 06:18:07PM -0300, Garst R. Reese wrote:
 Garst R. Reese wrote:
  
  Andre Poenitz wrote:
  
   You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
   profile, but no debug information. This links much faster than the
   debug-enabled version and should shoul the bottleneck nevertheless.
  
  OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
  large file to display!
  
  Thanks,
   Garst
 
 More info:
 top shows lyx running, the lyx  python, then lyx, then lyx  python ...
 Could a timeout be causing lyx2lyx to run repeatedly ?

Don't know either.

Could you try to run lyx2lyx manually on UserGuide.lyx to create a
UserGuide.lyx in the latest format and load this?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-14 Thread Andre Poenitz
On Mon, Aug 11, 2003 at 12:08:15PM -0300, Garst R. Reese wrote:
 Looks like I was wrong. Running lyx2lyx on my large file made it
 come up quickly.  Manual lyx2lyx took about 7s. My guess is that there
 is a race somewhere.  Hopefully it will go away as the cleanup
 continues.

Not too sure. The core cleanup doesn't touch lyx2lyx at all...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-14 Thread Martin Vermeer
On Mon, Aug 11, 2003 at 09:35:44AM +0200, Andre Poenitz spake thusly:
 
 On Sun, Aug 10, 2003 at 03:54:26PM -0300, Garst R. Reese wrote:
  Andre Poenitz wrote:
   
   You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
   profile, but no debug information. This links much faster than the
   debug-enabled version and should shoul the bottleneck nevertheless.
  
  OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
  large file to display!
 
 Are you accessing your X session over a 1200 baud phone line?
 
 Seriously, I don't have a clue.
 
 Andre'

Doesn't explain it either. I have started up LyX over a 56k phone line
and it takes 4-5 minutes only. Plus one minute for the splash screen
:-(

BTW this is much more than earlier LyX versions. And the funny thing
is that traffic is going *from* my home computer (X server) *to* the
one running LyX (client) all the time at about 5k. Compression
doesn't help, changing the cipher to blowfish doesn't help... this is
X tunnelled over ssh 1.2 (yes, I know I should upgrade)

Martin



pgp0.pgp
Description: PGP signature


Re: UG + other slowness

2003-08-14 Thread Garst R. Reese
Andre Poenitz wrote:
> 
> On Sun, Aug 10, 2003 at 06:18:07PM -0300, Garst R. Reese wrote:
> > "Garst R. Reese" wrote:
> > >
> > > Andre Poenitz wrote:
 
> Don't know either.
> 
> Could you try to run lyx2lyx manually on UserGuide.lyx to create a
> UserGuide.lyx in the latest format and load this?

I've already tried that. No help.
Thanks,
  Garst


Re: UG + other slowness

2003-08-14 Thread Garst R. Reese
Andre Poenitz wrote:
 
> You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
> profile, but no debug information. This links much faster than the
> debug-enabled version and should shoul the bottleneck nevertheless.

OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
large file to display!

Thanks,
 Garst


Re: UG + other slowness

2003-08-14 Thread Garst R. Reese
"Garst R. Reese" wrote:

> > Could you try to run lyx2lyx manually on UserGuide.lyx to create a
> > UserGuide.lyx in the latest format and load this?
> 
> I've already tried that. No help.
> Thanks,
>   Garst

Looks like I was wrong. Running lyx2lyx on my large file made it come up
quickly.
Manual lyx2lyx took about 7s. My guess is that there is a race
somewhere.
Hopefully it will go away as the cleanup continues.

Garst


Re: UG + other slowness

2003-08-14 Thread Andre Poenitz
On Sun, Aug 10, 2003 at 06:18:07PM -0300, Garst R. Reese wrote:
> "Garst R. Reese" wrote:
> > 
> > Andre Poenitz wrote:
> > 
> > > You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
> > > profile, but no debug information. This links much faster than the
> > > debug-enabled version and should shoul the bottleneck nevertheless.
> > 
> > OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
> > large file to display!
> > 
> > Thanks,
> >  Garst
> 
> More info:
> top shows lyx running, the lyx & python, then lyx, then lyx & python ...
> Could a timeout be causing lyx2lyx to run repeatedly ?

Don't know either.

Could you try to run lyx2lyx manually on UserGuide.lyx to create a
UserGuide.lyx in the latest format and load this?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-14 Thread Andre Poenitz
On Mon, Aug 11, 2003 at 12:08:15PM -0300, Garst R. Reese wrote:
> Looks like I was wrong. Running lyx2lyx on my large file made it
> come up quickly.  Manual lyx2lyx took about 7s. My guess is that there
> is a race somewhere.  Hopefully it will go away as the cleanup
> continues.

Not too sure. The core cleanup doesn't touch lyx2lyx at all...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-14 Thread Martin Vermeer
On Mon, Aug 11, 2003 at 09:35:44AM +0200, Andre Poenitz spake thusly:
 
> On Sun, Aug 10, 2003 at 03:54:26PM -0300, Garst R. Reese wrote:
> > Andre Poenitz wrote:
> >  
> > > You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
> > > profile, but no debug information. This links much faster than the
> > > debug-enabled version and should shoul the bottleneck nevertheless.
> > 
> > OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
> > large file to display!
> 
> Are you accessing your X session over a 1200 baud phone line?
> 
> Seriously, I don't have a clue.
> 
> Andre'

Doesn't explain it either. I have started up LyX over a 56k phone line
and it takes 4-5 minutes "only". Plus one minute for the splash screen
:-(

BTW this is much more than earlier LyX versions. And the funny thing
is that traffic is going *from* my home computer ("X server") *to* the
one running LyX ("client") all the time at about 5k. Compression
doesn't help, changing the cipher to blowfish doesn't help... this is
X tunnelled over ssh 1.2 (yes, I know I should upgrade)

Martin



pgp0.pgp
Description: PGP signature


Re: UG + other slowness

2003-08-11 Thread Andre Poenitz
On Sun, Aug 10, 2003 at 03:54:26PM -0300, Garst R. Reese wrote:
 Andre Poenitz wrote:
  
  You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
  profile, but no debug information. This links much faster than the
  debug-enabled version and should shoul the bottleneck nevertheless.
 
 OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
 large file to display!

Are you accessing your X session over a 1200 baud phone line?

Seriously, I don't have a clue.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-11 Thread Andre Poenitz
On Sun, Aug 10, 2003 at 03:54:26PM -0300, Garst R. Reese wrote:
> Andre Poenitz wrote:
>  
> > You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
> > profile, but no debug information. This links much faster than the
> > debug-enabled version and should shoul the bottleneck nevertheless.
> 
> OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
> large file to display!

Are you accessing your X session over a 1200 baud phone line?

Seriously, I don't have a clue.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-10 Thread Garst R. Reese
Garst R. Reese wrote:
 
 Andre Poenitz wrote:
 
  You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
  profile, but no debug information. This links much faster than the
  debug-enabled version and should shoul the bottleneck nevertheless.
 
 OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
 large file to display!
 
 Thanks,
  Garst

More info:
top shows lyx running, the lyx  python, then lyx, then lyx  python ...
Could a timeout be causing lyx2lyx to run repeatedly ?

G.


Re: UG + other slowness

2003-08-10 Thread Garst R. Reese
"Garst R. Reese" wrote:
> 
> Andre Poenitz wrote:
> 
> > You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
> > profile, but no debug information. This links much faster than the
> > debug-enabled version and should shoul the bottleneck nevertheless.
> 
> OK, I did that. gprof said lyx took 9.81s, but it took 27 minutes for my
> large file to display!
> 
> Thanks,
>  Garst

More info:
top shows lyx running, the lyx & python, then lyx, then lyx & python ...
Could a timeout be causing lyx2lyx to run repeatedly ?

G.


Re: UG + other slowness

2003-08-01 Thread Andre Poenitz
On Thu, Jul 31, 2003 at 01:32:01PM -0300, Garst R. Reese wrote:
 Lars Gullik Bjønnes wrote:
  
  It seems that you are the only one seeing this.
  
  Really strange.
  
  With debugging turned on, are you able to see in what phase it is
  slow?
 I can't complile on this machine with -g, if that's what you mean.

You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
profile, but no debug information. This links much faster than the
debug-enabled version and should shoul the bottleneck nevertheless.

But try recent CVS first.  Maybe Sunday noon Greenwich time...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-01 Thread Garst R. Reese
Andre Poenitz wrote:
 
 But try recent CVS first.  Maybe Sunday noon Greenwich time...
 
Thanks Andre'
I just finished compiling -D 2003-07-27 18:00
I suppose that is 22:00 GMT if the 18:00 is my local time.
Loading time is now OK, typing is very slow. Would backing up to noon
GMT help that?

Garst


Re: UG + other slowness

2003-08-01 Thread Andre Poenitz
On Fri, Aug 01, 2003 at 05:21:43AM -0300, Garst R. Reese wrote:
 Andre Poenitz wrote:
  
  But try recent CVS first.  Maybe Sunday noon Greenwich time...
  
 Thanks Andre'
 I just finished compiling -D 2003-07-27 18:00
 I suppose that is 22:00 GMT if the 18:00 is my local time.
 Loading time is now OK, typing is very slow. Would backing up to noon
 GMT help that?

Not much I suppose.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-01 Thread Garst R. Reese
Andre Poenitz wrote:

 Not much I suppose.
:)
OK,
Thanks


Re: UG + other slowness

2003-08-01 Thread Andre Poenitz
On Thu, Jul 31, 2003 at 01:32:01PM -0300, Garst R. Reese wrote:
> Lars Gullik Bjønnes wrote:
>  
> > It seems that you are the only one seeing this.
> > 
> > Really strange.
> > 
> > With debugging turned on, are you able to see in what phase it is
> > slow?
> I can't complile on this machine with -g, if that's what you mean.

You could try'CXXFLAGS=-pg configure --disable-debug... ' to include
profile, but no debug information. This links much faster than the
debug-enabled version and should shoul the bottleneck nevertheless.

But try recent CVS first.  Maybe Sunday noon Greenwich time...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-01 Thread Garst R. Reese
Andre Poenitz wrote:
 
> But try recent CVS first.  Maybe Sunday noon Greenwich time...
> 
Thanks Andre'
I just finished compiling -D "2003-07-27 18:00"
I suppose that is 22:00 GMT if the 18:00 is my local time.
Loading time is now OK, typing is very slow. Would backing up to noon
GMT help that?

Garst


Re: UG + other slowness

2003-08-01 Thread Andre Poenitz
On Fri, Aug 01, 2003 at 05:21:43AM -0300, Garst R. Reese wrote:
> Andre Poenitz wrote:
>  
> > But try recent CVS first.  Maybe Sunday noon Greenwich time...
> > 
> Thanks Andre'
> I just finished compiling -D "2003-07-27 18:00"
> I suppose that is 22:00 GMT if the 18:00 is my local time.
> Loading time is now OK, typing is very slow. Would backing up to noon
> GMT help that?

Not much I suppose.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-08-01 Thread Garst R. Reese
Andre Poenitz wrote:

> Not much I suppose.
:)
OK,
Thanks


Re: UG + other slowness

2003-07-31 Thread Lars Gullik Bjønnes
Garst R. Reese [EMAIL PROTECTED] writes:

| My files now do eventually load, but the UG takes about an hour to load.
| My large problem doc now loads, but lyx is too slow to be useable.
| My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
| 96Mb.
| So it looks like the problem is not yours, but I'm puzzled as to why I'm
| the only one
| complaining.

It seems that you are the only one seeing this.

Really strange.

With debugging turned on, are you able to see in what phase it is
slow?

-- 
Lgb


Re: UG + other slowness

2003-07-31 Thread Angus Leeming
Garst R. Reese wrote:

 My files now do eventually load, but the UG takes about an hour to load.
 My large problem doc now loads, but lyx is too slow to be useable.
 My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
 96Mb.
 So it looks like the problem is not yours, but I'm puzzled as to why I'm
 the only one
 complaining.

Asger worked very hard to make LyX usable again. After he left on Sunday the 
rest of us pitched in to break it once more...

-- 
Angus



Re: UG + other slowness

2003-07-31 Thread Andre Poenitz
On Thu, Jul 31, 2003 at 12:21:17PM -0300, Garst R. Reese wrote:
 My files now do eventually load, but the UG takes about an hour to load.

That won't change for a few weeks.

Instead of re-inserting clever speed hacks I'd like to clean up the core
first. Speeding it up afterwards should be fairly straight-forward.

 My large problem doc now loads, but lyx is too slow to be useable.
 My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
 96Mb.

I promise you this will be sufficient to load the UserGuide again
at 1.4.0 release time.

 So it looks like the problem is not yours, but I'm puzzled as to why
 I'm the only one complaining.

Probably not too many people use current CVS for serious work
(guess why ;-})

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-07-31 Thread Angus Leeming
Lars Gullik Bjønnes wrote:

 Garst R. Reese [EMAIL PROTECTED] writes:
 
 | My files now do eventually load, but the UG takes about an hour to load.
 | My large problem doc now loads, but lyx is too slow to be useable.
 | My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
 | 96Mb.
 | So it looks like the problem is not yours, but I'm puzzled as to why I'm
 | the only one
 | complaining.
 
 It seems that you are the only one seeing this.
 
 Really strange.
 
 With debugging turned on, are you able to see in what phase it is
 slow?

On a 2.7GHz machine the UG loads in 2-3 secs. I note though that Jean-Marc 
really has done something weird and wonderful to the Environments combox on 
the toolbar. Open and close a few docs and you'll end up with an empty 
combox and messages of the form:
Trying to select non existent layout type Title

-- 
Angus



Re: UG + other slowness

2003-07-31 Thread Andre Poenitz
On Thu, Jul 31, 2003 at 04:40:22PM +, Angus Leeming wrote:
 On a 2.7GHz machine the UG loads in 2-3 secs.

real0m4.121s
user0m2.070s
sys 0m0.020s

Athlon 1700+

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-07-31 Thread Jose' Matos
On Thursday 31 July 2003 16:21, Garst R. Reese wrote:
 My files now do eventually load, but the UG takes about an hour to load.
 My large problem doc now loads, but lyx is too slow to be useable.
 My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
 96Mb.

  Could you please use directly lyx2lyx outside lyx and see how much time it 
takes?

  The syntax is , assuming you are on lyx-devel directory,

  lib/lyx2lyx/lyx2lyx   file.lyx  newfile.lyx

 So it looks like the problem is not yours, but I'm puzzled as to why I'm
 the only one complaining.
 Python 2.2.1
 Gcc 3.2
 xforms 1.02
  CFLAGS='-O2' ../configure --enable-optimization=-O2  --disable-debug
 --with-aspell --disable-nls --with-included-boost

  This is fine.

 Thanks,
Garst

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: UG + other slowness

2003-07-31 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes:

| On Thu, Jul 31, 2003 at 04:40:22PM +, Angus Leeming wrote:
|  On a 2.7GHz machine the UG loads in 2-3 secs.
| 
| real0m4.121s
| user0m2.070s
| sys 0m0.020s
| 
| Athlon 1700+

There is a while from there to over an hour...

-- 
Lgb


Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Jose' Matos wrote:
 
   Could you please use directly lyx2lyx outside lyx and see how much time it
 takes?
 
bash$ time ./lyx2lyx /home/garst/eagle/NLM-ECG/LYX/NLM-ECG.lyx 
~/tmp/NLM-ECG14.lyx
5.25user 0.08system 0:07.75elapsed 68%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (483major+464minor)pagefaults 0swaps

No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
time for cvs -D?
Thanks,
  Garst


Re: UG + other slowness

2003-07-31 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus On a 2.7GHz machine the UG loads in 2-3 secs. I note though
Angus that Jean-Marc really has done something weird and wonderful to
Angus the Environments combox on the toolbar. Open and close a few
Angus docs and you'll end up with an empty combox and messages of the
Angus form: Trying to select non existent layout type Title

Can you give a minimal recipe to get this now?

JMarc



Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Andre Poenitz wrote:
 
 Probably not too many people use current CVS for serious work
 (guess why ;-})
 
Yeah, but I screwed up and blew away my 1.3, edited a doc in 1.4 and got
stuck :)
Not to worry.
Thanks,
  Garst


Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Lars Gullik Bjønnes wrote:
 
 It seems that you are the only one seeing this.
 
 Really strange.
 
 With debugging turned on, are you able to see in what phase it is
 slow?
I can't complile on this machine with -g, if that's what you mean.

Garst


Re: UG + other slowness

2003-07-31 Thread Angus Leeming
On Thursday 31 July 2003 4:31 pm, Jean-Marc Lasgouttes wrote:
  Angus == Angus Leeming [EMAIL PROTECTED] writes:

 Angus On a 2.7GHz machine the UG loads in 2-3 secs. I note though
 Angus that Jean-Marc really has done something weird and wonderful to
 Angus the Environments combox on the toolbar. Open and close a few
 Angus docs and you'll end up with an empty combox and messages of the
 Angus form: Trying to select non existent layout type Title

 Can you give a minimal recipe to get this now?

 JMarc

$ qlyxcvs ~/lyx/docs/UserGuide_ro.lyx

then, File-Close
File-Open ~/lyx/docs/UserGuide.lyx

Bingo. The combox is not re-filled and the error message appears.

Angus




Re: UG + other slowness

2003-07-31 Thread Jose' Matos
On Thursday 31 July 2003 17:30, Garst R. Reese wrote:
 5.25user
 0.08system
 0:07.75elapsed
 68%CPU (0avgtext+0avgdata 0maxresident)k
 0inputs+0outputs (483major+464minor)pagefaults 0swaps

  And how much time does it takes to load this new file. I know that this 
question looks crazy, but I have a reason.

 No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
 time for cvs -D?
 Thanks,
   Garst

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Jose' Matos wrote:
 
   And how much time does it takes to load this new file. I know that this
 question looks crazy, but I have a reason.

I killed it at 35minutes
I suppose that answers your question :)

  No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
  time for cvs -D?
  Thanks,
Garst



Re: UG + other slowness

2003-07-31 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Donnerstag, 31. Juli 2003 19:39, Garst R. Reese wrote:
 Jose' Matos wrote:
  
And how much time does it takes to load this new file. I know that this
  question looks crazy, but I have a reason.
 
 I killed it at 35minutes
 I suppose that answers your question :)
 
   No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
   time for cvs -D?

I see it too, but only if preview enabled.

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBPyl3tLewfbDGmeqhAQGsAAP9Ht0+te4L5BqbgCzc7icp8zNjGtqbgkRm
x7/yW96Vo88IPoHxqWdpjZYKwCLKoOBueN/8DotAMbGjTbXD0hNDFJ1cMMYro+fC
CsHhtLiR61UUwrAUfLB8VBJHKh9htg9xtR+EyORoQo9VupHg99Uis5Z/VTvZm7Os
j+hkKAbe4rY=
=1TgJ
-END PGP SIGNATURE-



Re: UG + other slowness

2003-07-31 Thread Lars Gullik Bjønnes
Garst R. Reese [EMAIL PROTECTED] writes:

| Lars Gullik Bjønnes wrote:
|  
|  It seems that you are the only one seeing this.
|  
|  Really strange.
|  
|  With debugging turned on, are you able to see in what phase it is
|  slow?
| I can't complile on this machine with -g, if that's what you mean.

No, only the -dbg any switch

-- 
Lgb


Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Lars Gullik Bjønnes wrote:

 
 No, only the -dbg any switch

Comment read: `#LyX 1.4 created this file. For more info see
http://www.lyx.org/'
Running '/usr/local/share/lyx/lyx2lyx/lyx2lyx -t225
'/home/garst/eagle/NLM-ECG/LYX/NLM-ECG.lyx''

This where it hangs, lyx2lyx -t225 ...  outfile.lyx from a terminal, it
works fine,
completes in 5s or so.
bash$ time /usr/local/share/lyx/lyx2lyx/lyx2lyx  -t225
/home/garst/eagle/NLM-ECG/LYX/NLM-ECG.lyx  ~/tmp/NLM-ECG3.lyx

This is with a new build after rm -rf'ing and recreating my build
directory, autogen.sh,
cd build, configure as before, make , make install.

Truly strange.

Thanks,
  Garst


Re: UG + other slowness

2003-07-31 Thread Lars Gullik Bjønnes
"Garst R. Reese" <[EMAIL PROTECTED]> writes:

| My files now do eventually load, but the UG takes about an hour to load.
| My large problem doc now loads, but lyx is too slow to be useable.
| My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
| 96Mb.
| So it looks like the problem is not yours, but I'm puzzled as to why I'm
| the only one
| complaining.

It seems that you are the only one seeing this.

Really strange.

With debugging turned on, are you able to see in what phase it is
slow?

-- 
Lgb


Re: UG + other slowness

2003-07-31 Thread Angus Leeming
Garst R. Reese wrote:

> My files now do eventually load, but the UG takes about an hour to load.
> My large problem doc now loads, but lyx is too slow to be useable.
> My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
> 96Mb.
> So it looks like the problem is not yours, but I'm puzzled as to why I'm
> the only one
> complaining.

Asger worked very hard to make LyX usable again. After he left on Sunday the 
rest of us pitched in to break it once more...

-- 
Angus



Re: UG + other slowness

2003-07-31 Thread Andre Poenitz
On Thu, Jul 31, 2003 at 12:21:17PM -0300, Garst R. Reese wrote:
> My files now do eventually load, but the UG takes about an hour to load.

That won't change for a few weeks.

Instead of re-inserting clever speed hacks I'd like to clean up the core
first. Speeding it up afterwards should be fairly straight-forward.

> My large problem doc now loads, but lyx is too slow to be useable.
> My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
> 96Mb.

I promise you this will be sufficient to load the UserGuide again
at 1.4.0 release time.

> So it looks like the problem is not yours, but I'm puzzled as to why
> I'm the only one complaining.

Probably not too many people use current CVS for serious work
(guess why ;-})

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-07-31 Thread Angus Leeming
Lars Gullik Bjønnes wrote:

> "Garst R. Reese" <[EMAIL PROTECTED]> writes:
> 
> | My files now do eventually load, but the UG takes about an hour to load.
> | My large problem doc now loads, but lyx is too slow to be useable.
> | My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
> | 96Mb.
> | So it looks like the problem is not yours, but I'm puzzled as to why I'm
> | the only one
> | complaining.
> 
> It seems that you are the only one seeing this.
> 
> Really strange.
> 
> With debugging turned on, are you able to see in what phase it is
> slow?

On a 2.7GHz machine the UG loads in 2-3 secs. I note though that Jean-Marc 
really has done something weird and wonderful to the Environments combox on 
the toolbar. Open and close a few docs and you'll end up with an empty 
combox and messages of the form:
Trying to select non existent layout type Title

-- 
Angus



Re: UG + other slowness

2003-07-31 Thread Andre Poenitz
On Thu, Jul 31, 2003 at 04:40:22PM +, Angus Leeming wrote:
> On a 2.7GHz machine the UG loads in 2-3 secs.

real0m4.121s
user0m2.070s
sys 0m0.020s

Athlon 1700+

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: UG + other slowness

2003-07-31 Thread Jose' Matos
On Thursday 31 July 2003 16:21, Garst R. Reese wrote:
> My files now do eventually load, but the UG takes about an hour to load.
> My large problem doc now loads, but lyx is too slow to be useable.
> My pre-Chemnitz version is working. This is a pretty ancient box, 233Mz,
> 96Mb.

  Could you please use directly lyx2lyx outside lyx and see how much time it 
takes?

  The syntax is , assuming you are on lyx-devel directory,

  lib/lyx2lyx/lyx2lyx   file.lyx > newfile.lyx

> So it looks like the problem is not yours, but I'm puzzled as to why I'm
> the only one complaining.
> Python 2.2.1
> Gcc 3.2
> xforms 1.02
>  CFLAGS='-O2' ../configure --enable-optimization="-O2"  --disable-debug
> --with-aspell --disable-nls --with-included-boost

  This is fine.

> Thanks,
>Garst

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: UG + other slowness

2003-07-31 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Thu, Jul 31, 2003 at 04:40:22PM +, Angus Leeming wrote:
| > On a 2.7GHz machine the UG loads in 2-3 secs.
| 
| real0m4.121s
| user0m2.070s
| sys 0m0.020s
| 
| Athlon 1700+

There is a while from there to over an hour...

-- 
Lgb


Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Jose' Matos wrote:
> 
>   Could you please use directly lyx2lyx outside lyx and see how much time it
> takes?
> 
bash$ time ./lyx2lyx /home/garst/eagle/NLM-ECG/LYX/NLM-ECG.lyx >
~/tmp/NLM-ECG14.lyx
5.25user 0.08system 0:07.75elapsed 68%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (483major+464minor)pagefaults 0swaps

No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
time for cvs -D?
Thanks,
  Garst


Re: UG + other slowness

2003-07-31 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> On a 2.7GHz machine the UG loads in 2-3 secs. I note though
Angus> that Jean-Marc really has done something weird and wonderful to
Angus> the Environments combox on the toolbar. Open and close a few
Angus> docs and you'll end up with an empty combox and messages of the
Angus> form: Trying to select non existent layout type Title

Can you give a minimal recipe to get this now?

JMarc



Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Andre Poenitz wrote:
 
> Probably not too many people use current CVS for serious work
> (guess why ;-})
> 
Yeah, but I screwed up and blew away my 1.3, edited a doc in 1.4 and got
stuck :)
Not to worry.
Thanks,
  Garst


Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Lars Gullik Bjønnes wrote:
 
> It seems that you are the only one seeing this.
> 
> Really strange.
> 
> With debugging turned on, are you able to see in what phase it is
> slow?
I can't complile on this machine with -g, if that's what you mean.

Garst


Re: UG + other slowness

2003-07-31 Thread Angus Leeming
On Thursday 31 July 2003 4:31 pm, Jean-Marc Lasgouttes wrote:
> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> On a 2.7GHz machine the UG loads in 2-3 secs. I note though
> Angus> that Jean-Marc really has done something weird and wonderful to
> Angus> the Environments combox on the toolbar. Open and close a few
> Angus> docs and you'll end up with an empty combox and messages of the
> Angus> form: Trying to select non existent layout type Title
>
> Can you give a minimal recipe to get this now?
>
> JMarc

$ qlyxcvs ~/lyx/docs/UserGuide_ro.lyx

then, File->Close
File->Open ~/lyx/docs/UserGuide.lyx

Bingo. The combox is not re-filled and the error message appears.

Angus




Re: UG + other slowness

2003-07-31 Thread Jose' Matos
On Thursday 31 July 2003 17:30, Garst R. Reese wrote:
> 5.25user
> 0.08system
> 0:07.75elapsed
> 68%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (483major+464minor)pagefaults 0swaps

  And how much time does it takes to load this new file. I know that this 
question looks crazy, but I have a reason.

> No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
> time for cvs -D?
> Thanks,
>   Garst

-- 
José Abílio

LyX and docbook, a perfect match. :-)



Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Jose' Matos wrote:
> 
>   And how much time does it takes to load this new file. I know that this
> question looks crazy, but I have a reason.

I killed it at 35minutes
I suppose that answers your question :)

> > No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
> > time for cvs -D?
> > Thanks,
> >   Garst
>


Re: UG + other slowness

2003-07-31 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Donnerstag, 31. Juli 2003 19:39, Garst R. Reese wrote:
> Jose' Matos wrote:
> > 
> >   And how much time does it takes to load this new file. I know that this
> > question looks crazy, but I have a reason.
> 
> I killed it at 35minutes
> I suppose that answers your question :)
> 
> > > No problem there. I'll try Asger's Sunday cvs. What is a safe Sunday
> > > time for cvs -D?

I see it too, but only if preview enabled.

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iQCVAwUBPyl3tLewfbDGmeqhAQGsAAP9Ht0+te4L5BqbgCzc7icp8zNjGtqbgkRm
x7/yW96Vo88IPoHxqWdpjZYKwCLKoOBueN/8DotAMbGjTbXD0hNDFJ1cMMYro+fC
CsHhtLiR61UUwrAUfLB8VBJHKh9htg9xtR+EyORoQo9VupHg99Uis5Z/VTvZm7Os
j+hkKAbe4rY=
=1TgJ
-END PGP SIGNATURE-



Re: UG + other slowness

2003-07-31 Thread Lars Gullik Bjønnes
"Garst R. Reese" <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
|  
| > It seems that you are the only one seeing this.
| > 
| > Really strange.
| > 
| > With debugging turned on, are you able to see in what phase it is
| > slow?
| I can't complile on this machine with -g, if that's what you mean.

No, only the -dbg any switch

-- 
Lgb


Re: UG + other slowness

2003-07-31 Thread Garst R. Reese
Lars Gullik Bjønnes wrote:

> 
> No, only the -dbg any switch

Comment read: `#LyX 1.4 created this file. For more info see
http://www.lyx.org/'
Running '/usr/local/share/lyx/lyx2lyx/lyx2lyx -t225
'/home/garst/eagle/NLM-ECG/LYX/NLM-ECG.lyx''

This where it hangs, lyx2lyx -t225 ... > outfile.lyx from a terminal, it
works fine,
completes in 5s or so.
bash$ time /usr/local/share/lyx/lyx2lyx/lyx2lyx  -t225
/home/garst/eagle/NLM-ECG/LYX/NLM-ECG.lyx > ~/tmp/NLM-ECG3.lyx

This is with a new build after rm -rf'ing and recreating my build
directory, autogen.sh,
cd build, configure as before, make , make install.

Truly strange.

Thanks,
  Garst