LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
I'm editing a 146K Lyx document (with no pictures) and the typing speed
is dreadful.

Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.

The same instance of Lyx tabbed to a small document is very fast.

Has anyone tips on speeding this up?

- hmm a few hours later and a few lyx restarts and it's speeded up again...

I'll keep an eye on it and report back if I find anything else.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Rich Shepard

On Tue, 28 Jul 2009, Sam Liddicott wrote:


Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.


Sam,

  Probably not LyX but other processes running. If you watch top while lyx
is idle you can get a better sense of what else is happening.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
* Rich Shepard wrote, On 28/07/09 16:36:
 On Tue, 28 Jul 2009, Sam Liddicott wrote:
 
 Characters come out at about 1 character per second with top showing 94%
 CPU used by Lyx.
 
 Sam,
 
   Probably not LyX but other processes running. If you watch top while lyx
 is idle you can get a better sense of what else is happening.

?
Lyx was occupying the top process line of top at 94%. xorg was using 15%
(dual core).

I think if it was other processes Lyx would not have shown 94%.

But I'll check if it happens again, thanks for the advice.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Steve Litt
On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
 I'm editing a 146K Lyx document (with no pictures) and the typing speed
 is dreadful.

That's a tiny document.


 Characters come out at about 1 character per second with top showing 94%
 CPU used by Lyx.

Interestingly, there was a similar symptom way back maybe 6 years ago, where 
someone used an n squared algorithm instead of n log n, or something like 
that, for wordwrapping. The developer found it easily and did one of those 
forehead slaps.

You're not using LyX 1.2 or something like that, are you? What LyX version, 
what operating system, how much RAM on the system?

 The same instance of Lyx tabbed to a small document is very fast.

 Has anyone tips on speeding this up?

 - hmm a few hours later and a few lyx restarts and it's speeded up again...

You have an intermittent. I hate those. Keep an eye on it, and keep your 
observation at peak performance.

SteveT



Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott

Steve Litt wrote:

On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
  

I'm editing a 146K Lyx document (with no pictures) and the typing speed
is dreadful.



That's a tiny document.
  

Good :-)
  

Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.



Interestingly, there was a similar symptom way back maybe 6 years ago, where 
someone used an n squared algorithm instead of n log n, or something like 
that, for wordwrapping. The developer found it easily and did one of those 
forehead slaps.


You're not using LyX 1.2 or something like that, are you? What LyX version, 
what operating system, how much RAM on the system?
  


1.6.3 with 3Gig RAM, Ubuntu Jaunty 64 with radeonhd drivers.


The same instance of Lyx tabbed to a small document is very fast.

Has anyone tips on speeding this up?

- hmm a few hours later and a few lyx restarts and it's speeded up again...



You have an intermittent. I hate those. Keep an eye on it, and keep your 
  


Shall do, thanks for the advice.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Steve Litt
On Tuesday 28 July 2009 14:41:54 you wrote:
 Steve Litt wrote:
  On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
  I'm editing a 146K Lyx document (with no pictures) and the typing speed
  is dreadful.
 
  That's a tiny document.

 Good :-)

sl...@mydesk:/d/at/books/stories$ ls -l stories.lyx
-rw-r--r-- 1 slitt slitt 612194 2008-12-12 12:19 stories.lyx
sl...@mydesk:/d/at/books/stories$

That's my 200 page Twenty Eight Tales of Troubleshooting, which has never 
had a problem keeping up with the typist.

  Characters come out at about 1 character per second with top showing 94%
  CPU used by Lyx.

What do you mean by coming out at 1 character per second? Do you mean it 
allows the typist only 1 char per second input, or do  you mean something 
else?


 
  Interestingly, there was a similar symptom way back maybe 6 years ago,
  where someone used an n squared algorithm instead of n log n, or
  something like that, for wordwrapping. The developer found it easily and
  did one of those forehead slaps.
 
  You're not using LyX 1.2 or something like that, are you? What LyX
  version, what operating system, how much RAM on the system?

 1.6.3 with 3Gig RAM, Ubuntu Jaunty 64 with radeonhd drivers.

I've got 1.6.3 with 8GB, and I have absolutely no problem like that. My last 
box had 2GB but lyx 1.5.x, and had absolutely no problems with speed.


  The same instance of Lyx tabbed to a small document is very fast.
 
  Has anyone tips on speeding this up?
 
  - hmm a few hours later and a few lyx restarts and it's speeded up
  again...
 
  You have an intermittent. I hate those. Keep an eye on it, and keep your

 Shall do, thanks for the advice.

 Sam



Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
Richard Heck wrote:  

Did you have ViewSource open?

Yes - I'll bet that was it! Nicely spotted, thanks!

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott

Steve Litt wrote:


What do you mean by coming out at 1 character per second? Do you mean it 
allows the typist only 1 char per second input, or do  you mean something 
else?
  

I mean it can't keep up with my typing, but I think Richard guessed right.
I'll prove it tomorrow on the same document.

In other news I'm finding the literate module much more convenient than 
literate class, and the new layout with manual labels much more 
congenial for entering; and I don't get caught out by missing out the 
trailing @.


Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Richard Heck

On 07/28/2009 03:31 PM, Sam Liddicott wrote:

Richard Heck wrote:

Did you have ViewSource open?


Yes - I'll bet that was it! Nicely spotted, thanks!


It'll be ok if you don't have Complete source (or whatever) checked.

rh



LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
I'm editing a 146K Lyx document (with no pictures) and the typing speed
is dreadful.

Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.

The same instance of Lyx tabbed to a small document is very fast.

Has anyone tips on speeding this up?

- hmm a few hours later and a few lyx restarts and it's speeded up again...

I'll keep an eye on it and report back if I find anything else.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Rich Shepard

On Tue, 28 Jul 2009, Sam Liddicott wrote:


Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.


Sam,

  Probably not LyX but other processes running. If you watch top while lyx
is idle you can get a better sense of what else is happening.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
* Rich Shepard wrote, On 28/07/09 16:36:
 On Tue, 28 Jul 2009, Sam Liddicott wrote:
 
 Characters come out at about 1 character per second with top showing 94%
 CPU used by Lyx.
 
 Sam,
 
   Probably not LyX but other processes running. If you watch top while lyx
 is idle you can get a better sense of what else is happening.

?
Lyx was occupying the top process line of top at 94%. xorg was using 15%
(dual core).

I think if it was other processes Lyx would not have shown 94%.

But I'll check if it happens again, thanks for the advice.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Steve Litt
On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
 I'm editing a 146K Lyx document (with no pictures) and the typing speed
 is dreadful.

That's a tiny document.


 Characters come out at about 1 character per second with top showing 94%
 CPU used by Lyx.

Interestingly, there was a similar symptom way back maybe 6 years ago, where 
someone used an n squared algorithm instead of n log n, or something like 
that, for wordwrapping. The developer found it easily and did one of those 
forehead slaps.

You're not using LyX 1.2 or something like that, are you? What LyX version, 
what operating system, how much RAM on the system?

 The same instance of Lyx tabbed to a small document is very fast.

 Has anyone tips on speeding this up?

 - hmm a few hours later and a few lyx restarts and it's speeded up again...

You have an intermittent. I hate those. Keep an eye on it, and keep your 
observation at peak performance.

SteveT



Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott

Steve Litt wrote:

On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
  

I'm editing a 146K Lyx document (with no pictures) and the typing speed
is dreadful.



That's a tiny document.
  

Good :-)
  

Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.



Interestingly, there was a similar symptom way back maybe 6 years ago, where 
someone used an n squared algorithm instead of n log n, or something like 
that, for wordwrapping. The developer found it easily and did one of those 
forehead slaps.


You're not using LyX 1.2 or something like that, are you? What LyX version, 
what operating system, how much RAM on the system?
  


1.6.3 with 3Gig RAM, Ubuntu Jaunty 64 with radeonhd drivers.


The same instance of Lyx tabbed to a small document is very fast.

Has anyone tips on speeding this up?

- hmm a few hours later and a few lyx restarts and it's speeded up again...



You have an intermittent. I hate those. Keep an eye on it, and keep your 
  


Shall do, thanks for the advice.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Steve Litt
On Tuesday 28 July 2009 14:41:54 you wrote:
 Steve Litt wrote:
  On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
  I'm editing a 146K Lyx document (with no pictures) and the typing speed
  is dreadful.
 
  That's a tiny document.

 Good :-)

sl...@mydesk:/d/at/books/stories$ ls -l stories.lyx
-rw-r--r-- 1 slitt slitt 612194 2008-12-12 12:19 stories.lyx
sl...@mydesk:/d/at/books/stories$

That's my 200 page Twenty Eight Tales of Troubleshooting, which has never 
had a problem keeping up with the typist.

  Characters come out at about 1 character per second with top showing 94%
  CPU used by Lyx.

What do you mean by coming out at 1 character per second? Do you mean it 
allows the typist only 1 char per second input, or do  you mean something 
else?


 
  Interestingly, there was a similar symptom way back maybe 6 years ago,
  where someone used an n squared algorithm instead of n log n, or
  something like that, for wordwrapping. The developer found it easily and
  did one of those forehead slaps.
 
  You're not using LyX 1.2 or something like that, are you? What LyX
  version, what operating system, how much RAM on the system?

 1.6.3 with 3Gig RAM, Ubuntu Jaunty 64 with radeonhd drivers.

I've got 1.6.3 with 8GB, and I have absolutely no problem like that. My last 
box had 2GB but lyx 1.5.x, and had absolutely no problems with speed.


  The same instance of Lyx tabbed to a small document is very fast.
 
  Has anyone tips on speeding this up?
 
  - hmm a few hours later and a few lyx restarts and it's speeded up
  again...
 
  You have an intermittent. I hate those. Keep an eye on it, and keep your

 Shall do, thanks for the advice.

 Sam



Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
Richard Heck wrote:  

Did you have ViewSource open?

Yes - I'll bet that was it! Nicely spotted, thanks!

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott

Steve Litt wrote:


What do you mean by coming out at 1 character per second? Do you mean it 
allows the typist only 1 char per second input, or do  you mean something 
else?
  

I mean it can't keep up with my typing, but I think Richard guessed right.
I'll prove it tomorrow on the same document.

In other news I'm finding the literate module much more convenient than 
literate class, and the new layout with manual labels much more 
congenial for entering; and I don't get caught out by missing out the 
trailing @.


Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Richard Heck

On 07/28/2009 03:31 PM, Sam Liddicott wrote:

Richard Heck wrote:

Did you have ViewSource open?


Yes - I'll bet that was it! Nicely spotted, thanks!


It'll be ok if you don't have Complete source (or whatever) checked.

rh



LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
I'm editing a 146K Lyx document (with no pictures) and the typing speed
is dreadful.

Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.

The same instance of Lyx tabbed to a small document is very fast.

Has anyone tips on speeding this up?

- hmm a few hours later and a few lyx restarts and it's speeded up again...

I'll keep an eye on it and report back if I find anything else.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Rich Shepard

On Tue, 28 Jul 2009, Sam Liddicott wrote:


Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.


Sam,

  Probably not LyX but other processes running. If you watch top while lyx
is idle you can get a better sense of what else is happening.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
* Rich Shepard wrote, On 28/07/09 16:36:
> On Tue, 28 Jul 2009, Sam Liddicott wrote:
> 
>> Characters come out at about 1 character per second with top showing 94%
>> CPU used by Lyx.
> 
> Sam,
> 
>   Probably not LyX but other processes running. If you watch top while lyx
> is idle you can get a better sense of what else is happening.

?
Lyx was occupying the top process line of top at 94%. xorg was using 15%
(dual core).

I think if it was other processes Lyx would not have shown 94%.

But I'll check if it happens again, thanks for the advice.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Steve Litt
On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
> I'm editing a 146K Lyx document (with no pictures) and the typing speed
> is dreadful.

That's a tiny document.

>
> Characters come out at about 1 character per second with top showing 94%
> CPU used by Lyx.

Interestingly, there was a similar symptom way back maybe 6 years ago, where 
someone used an n squared algorithm instead of n log n, or something like 
that, for wordwrapping. The developer found it easily and did one of those 
forehead slaps.

You're not using LyX 1.2 or something like that, are you? What LyX version, 
what operating system, how much RAM on the system?
>
> The same instance of Lyx tabbed to a small document is very fast.
>
> Has anyone tips on speeding this up?
>
> - hmm a few hours later and a few lyx restarts and it's speeded up again...

You have an intermittent. I hate those. Keep an eye on it, and keep your 
observation at peak performance.

SteveT



Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott

Steve Litt wrote:

On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
  

I'm editing a 146K Lyx document (with no pictures) and the typing speed
is dreadful.



That's a tiny document.
  

Good :-)
  

Characters come out at about 1 character per second with top showing 94%
CPU used by Lyx.



Interestingly, there was a similar symptom way back maybe 6 years ago, where 
someone used an n squared algorithm instead of n log n, or something like 
that, for wordwrapping. The developer found it easily and did one of those 
forehead slaps.


You're not using LyX 1.2 or something like that, are you? What LyX version, 
what operating system, how much RAM on the system?
  


1.6.3 with 3Gig RAM, Ubuntu Jaunty 64 with radeonhd drivers.


The same instance of Lyx tabbed to a small document is very fast.

Has anyone tips on speeding this up?

- hmm a few hours later and a few lyx restarts and it's speeded up again...



You have an intermittent. I hate those. Keep an eye on it, and keep your 
  


Shall do, thanks for the advice.

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Steve Litt
On Tuesday 28 July 2009 14:41:54 you wrote:
> Steve Litt wrote:
> > On Tuesday 28 July 2009 11:25:34 Sam Liddicott wrote:
> >> I'm editing a 146K Lyx document (with no pictures) and the typing speed
> >> is dreadful.
> >
> > That's a tiny document.
>
> Good :-)

sl...@mydesk:/d/at/books/stories$ ls -l stories.lyx
-rw-r--r-- 1 slitt slitt 612194 2008-12-12 12:19 stories.lyx
sl...@mydesk:/d/at/books/stories$

That's my 200 page "Twenty Eight Tales of Troubleshooting", which has never 
had a problem keeping up with the typist.
>
> >> Characters come out at about 1 character per second with top showing 94%
> >> CPU used by Lyx.

What do you mean by "coming out at 1 character per second?" Do you mean it 
allows the typist only 1 char per second input, or do  you mean something 
else?


> >
> > Interestingly, there was a similar symptom way back maybe 6 years ago,
> > where someone used an n squared algorithm instead of n log n, or
> > something like that, for wordwrapping. The developer found it easily and
> > did one of those forehead slaps.
> >
> > You're not using LyX 1.2 or something like that, are you? What LyX
> > version, what operating system, how much RAM on the system?
>
> 1.6.3 with 3Gig RAM, Ubuntu Jaunty 64 with radeonhd drivers.

I've got 1.6.3 with 8GB, and I have absolutely no problem like that. My last 
box had 2GB but lyx 1.5.x, and had absolutely no problems with speed.

>
> >> The same instance of Lyx tabbed to a small document is very fast.
> >>
> >> Has anyone tips on speeding this up?
> >>
> >> - hmm a few hours later and a few lyx restarts and it's speeded up
> >> again...
> >
> > You have an intermittent. I hate those. Keep an eye on it, and keep your
>
> Shall do, thanks for the advice.
>
> Sam



Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott
Richard Heck wrote:  

Did you have View>Source open?

Yes - I'll bet that was it! Nicely spotted, thanks!

Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Sam Liddicott

Steve Litt wrote:


What do you mean by "coming out at 1 character per second?" Do you mean it 
allows the typist only 1 char per second input, or do  you mean something 
else?
  

I mean it can't keep up with my typing, but I think Richard guessed right.
I'll prove it tomorrow on the same document.

In other news I'm finding the literate module much more convenient than 
literate class, and the new layout with manual labels much more 
congenial for entering; and I don't get caught out by missing out the 
trailing @.


Sam


Re: LyX slow at 1 char per second, 94% cpu

2009-07-28 Thread Richard Heck

On 07/28/2009 03:31 PM, Sam Liddicott wrote:

Richard Heck wrote:

Did you have View>Source open?


Yes - I'll bet that was it! Nicely spotted, thanks!


It'll be ok if you don't have "Complete source" (or whatever) checked.

rh