change latency by open a new window

More
05 Aug 2013 17:44 - 05 Aug 2013 17:44 #37406 by seppel
Hello,

the latency of my system stays normaly at 17000. If I open a new window the latency grow up to 2000000. If I close the window and open the same again the latency don't change and stay at 17000.

What is the reson for this behavior??
Last edit: 05 Aug 2013 17:44 by seppel.

Please Log in or Create an account to join the conversation.

More
05 Aug 2013 18:04 #37407 by ArcEye
Hi

The reason for that particular effect is usualy caching.

The hard drive and the processor both have caches and linux uses spare RAM as cache buffers too
Once the data has been read and rendered, it is sitting in cache from where it can be re-instated with minimal resource usage

However your 2M figure is horrendous, you need to track down the bottle neck.

Not knowing anything about your machine I cannot begin to advise


regards

Please Log in or Create an account to join the conversation.

More
05 Aug 2013 18:55 - 05 Aug 2013 18:59 #37408 by seppel
okay
I've got:

Sempron 2800+
Mainboard:AsRock K7VT4A PRO
Nvidia Geforce 5200 FX
RAM 1 GByte
Last edit: 05 Aug 2013 18:59 by seppel.

Please Log in or Create an account to join the conversation.

More
05 Aug 2013 19:09 #37409 by ArcEye
OK

You have enough RAM

It is a single core AMD K7, what version of Ubuntu are you running?
It will probably run best on the rtai kernel with 8.04, the Linuxcnc version is unaffected, you can still have the latest one.

In a terminal run lspci -vv > lspci.txt (two v's not a w) and attach the print, want to see what drivers you are using with the video card.

regards

Please Log in or Create an account to join the conversation.

More
05 Aug 2013 20:03 #37410 by Blackwind
hi dude
i have the same processor and motherboard, but an ati radeon video card.
on 8.04 runs fine, loading cpu(glx gears, internet, system monitor, vnc) gives me 20000ns. Sometimes running LinuxCNC i get rtai error.
on 10.04 give me same spikes as you. I have less memory, system is using barely 140mb, 240mb or so remains, but have a swap of 2mb i dont know why, suspicion there.
Regards
Rick
The following user(s) said Thank You: seppel

Please Log in or Create an account to join the conversation.

More
05 Aug 2013 20:10 #37411 by ArcEye
Blackwind wrote:

.............on 8.04 runs fine, loading cpu(glx gears, internet, system monitor, vnc) gives me 20000ns...........................................on 10.04 give me same spikes as you.


There you have it, from another user, if not using 8.04 already, install that.

When you are prompted to use non-free packages, decline. That should stop the proprietary nvidia drivers being used.

See how that goes and post the lspci output when you can
The following user(s) said Thank You: seppel

Please Log in or Create an account to join the conversation.

More
05 Aug 2013 22:42 #37415 by seppel
I use ubuntu 10.04 LTS

Is it possible to downgrade to 8.04? Or should I take new installation?

and here is the result of the command lspci -vv
Attachments:

Please Log in or Create an account to join the conversation.

More
05 Aug 2013 23:53 #37416 by ArcEye

Is it possible to downgrade to 8.04? Or should I take new installation?


You need to do a new install, just save your home directory to a USB stick first and you can restore it to the new install and keep all your configs etc

Regards drivers for your video card, have to see how it goes with 8.04
Under 10.04 it is using the restricted nvidia-173 module, which has shed loads of bug reports etc

Please Log in or Create an account to join the conversation.

More
07 Aug 2013 01:01 - 07 Aug 2013 01:13 #37455 by seppel
Thank you, ubuntu 8.04 runs realy fine and gives me 13000ns

But I've got another problem. Ubuntu don't realize the LAN on the motherboard. I can't upgrade to linuxcnc 2.5
Last edit: 07 Aug 2013 01:13 by seppel.

Please Log in or Create an account to join the conversation.

More
07 Aug 2013 01:32 #37459 by seppel
stupid failure now it works

Please Log in or Create an account to join the conversation.

Time to create page: 0.222 seconds
Powered by Kunena Forum