Dell Dimension 3000 latency issues

More
10 years 5 months ago #74209 by JimS
Just starting into LinuxCNC and have latency issues in the 500,000 range. Trying to wade through the details of SMI, etc but not following much of it. I ran the jitter test from the live cd and had what looked like reasonable numbers. Around 25,000 as I recall. I loaded Ubuntu 12.04 LTS thinking that was a good choice but was just reading that 8.04 might be better than 10.x for older hardware. But much of what I read about SMI and such seemed very dated. So I am not sure how much of it still applies. tried to run setsmi but got some errors that kept it from running. This newbie needs some help....

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

More
10 years 5 months ago #74218 by JimS
Here is some information on the PC. I haven't changed any bios settings yet.
Code:
processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 1 microcode : 0x9 cpu MHz : 2992.514 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc up pebs bts pni dtes64 monitor ds_cpl cid xtpr bogomips : 5985.02 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 32 bits virtual power management: /proc/cpuinfo (END)
Code:
uname -r 3.4-9-rtai-686-pae
Code:
lshw -C display *-display description: VGA compatible controller product: 82865G Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 02 width: 32 bits clock: 33MHz capabilities: pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:16 memory:e8000000-efffffff memory:feb80000-febfffff ioport:ed98(size=8)

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

More
10 years 5 months ago #74231 by PCW
Before worrying about SMI or other exotica, I would make sure that all power
management/clock speed options are disabled in the BIOS

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

More
10 years 5 months ago - 10 years 5 months ago #74253 by JimS
Looked at settings in BIOS. Hyperthreading was already disabled. I disabled sound. There was a CPU speed option of "Normal" or "Compatibility". The description said Compatibility was "a lower compatibility speed setting which lets you accommodate speed-sensitive applications". I left it set to Normal.

I then ran the latency test from the 10,04 live CD. The numbers were very close to 25000 and 25000. (a 20x improvement!). I did the same thing with the 8.04 live CD. Almost the same: 25000 and 29000. I then repeated the test with the installed 12.04. Got around 500,000 as before.

It may be the the 12.04 install isn't optimized for LinuxCNC. This is an old machine with a CD drive (not DVD) so to get 12.04 installed I had to do an install of the OS and then install the real time kernel and then linuxCNC. So it is very likely something is not optimum. I could try to find an IDE DVD drive and install and then retry but I think I may just live with 10.04 and LinuxCNC2.5.0. I am open to ideas for newer version but I am not sure it is worth the trouble - I would welcome others thoughts on that.

I installed 12.04 as detailed in section 7.2 here:
linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html

RAM on this PC is 1 Gig.
Last edit: 10 years 5 months ago by JimS.

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

More
10 years 5 months ago #74271 by Todd Zuercher
There is no reason to stay with Linuxcnc 2.5 on Ubuntu 10.04. Versions 2.6 and 2.7 both work perfectly fine on it. Updating is as simple as changing or adding the repository address and running an update (if you have an internet connection). If you don't then you have to download the debs and install them some other way.
The following user(s) said Thank You: JimS

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

More
10 years 5 months ago #74273 by JimS
Thanks Todd. I did find the instructions on updating and good to know it works fine. Looks like I need to go to 2.6 and then 2.7.

Any compelling reason I should be trying to get to 12.04 rather than 10.04? It appears I won't be able to do any updates (other than LinuxCNC) on 10.04 and I am not sure how installing packages I might need will work or not work since support has ended. But I don't think I will be needing much more than what is already included. This is only going to be used for machine control.

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

Time to create page: 0.292 seconds
Powered by Kunena Forum