On Monday 02 June 2014 05:59:37 pm Fred Gleason wrote:
> On 6/2/14, 17:22 27, Peter van Embden wrote:
> > In the meantime: is there a way to tell RDImport to just slow down while
> > importing, so it doesn't use all the bandwith?
> 
> You can try nice(1), but I wouldn't hold my breath. 

 Nice won't do it.
 Nice changes the scheduling priority. When the process runs, but once
 running, nice does nothing as far as how much load that process puts
 on the system.

 There is a package out there, niceload, that does restrict the load that
 a particular process puts on the system.
 ( I use it on one of my servers, and it does work. )
 It's a part of the gnu parallel package.
 http://www.gnu.org/software/parallel/niceload.html

 Strictly speaking, even niceload doesn't reduce the system load while
 the process is executing. It time-slices a process so that the average
 load it presents is reduced over some period of time.
 Example: ( with niceload defaults )
 If I have a process that demands 300% of the system while it's running,
 niceload will time-slice that process to only 30% of the *time* available.
 Therefore, during the 1 second that process is running, it still demands
 300% of the system ( system load 3.0 ) but demands 0% for the two
 seconds it's suspended. Average system load is reduced to 1.0 over
 a three second interval.

 To "slow down" or reduce the instantaneous load a process puts on
 the system, would require a kernel re-write.
 Linux, and especially a sudo-real-time linux, is not at all well suited
 to virtualization. About all of the sudo-real-time functionality is
 severely compromised by the hypervisor, as Fred suggests.

 And, as this whole thread suggests, virtualizing a true RTOS for any
 purpose is likely to cause what the RTOS folks would term
 a catastrophic non-recoverable system failure.

 Some things that demand real time, like audio, video, passenger car
 ignition spark timing, aircraft collision avoidance, air bag deployment,
 anti-stop brake systems, and the like, do not lend well to virtualization
 on any level or by any means.

-- 
Cowboy

http://cowboy.cwf1.com

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
                -- Benjamin Franklin, 1759
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to