LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems after Update 6.1 to 7.0 Linux-Vers.

Hello,
after updating vom 6.1 to 7.0 (Professional Vers., OS is Linux Suse-Distribution) we have the problem, that in the Edit-Mode LabView is very slow and sometimes use almost 100 % of Processor-Time. The Version 7.0 is multiple times slower than Version 6.1. It is almost impossible to edit the application, because most of the time I am waiting for LabView. Perhaps somebody has an idea to improve the performance.
Best regards
Georgie
0 Kudos
Message 1 of 2
(2,506 Views)
Hi Georgie,

It has been noticed before that LabVIEW may run rather sluggishly in a Linux system that is under a heavy load. This is because LabVIEW actually runs in 5 processes. You can "re-nice" a process to change how much time Linux allocates to the process.

Since LabVIEW runs in 5 processes, you would need to renice all 5 processes to -1 or -2. The lower you renice LabVIEW the more important Linux treats it. If you renice LabVIEW to -20, Linux will allocate so much time to LabVIEW that almost no other process will be able to interfere with it and LabVIEW may allocate memory faster than Linux can free it. You can renice LabVIEW by typing

renice -2 -p labview_pid

where labview_pid is one of the process ID numbers for LabVIEW. You would need to reni
ce each of the five LabVIEW processes. You can view the current nice level of LabVIEW and find its process IDs by typing

ps -l

If you know which process is producing the heavy load on your Linux system, you could instead renice this process to a higher nice value.

The niceness of a process is how nice it is to other processes. A very nice process (+2) willingly gives up its processor time to other processes. A process which is not nice at all (-2) does not willingly give up its processor time. The Linux kernel looks at the niceness of a process to determine how much time to allocate to each process. An unnice process will get a larger share of processor time and be interrupted less than a nice process.

Hope this helps!

Kileen C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,506 Views)