From: Kinney B. <bau...@ap...> - 2013-01-27 17:05:15
|
On 01/27/2013 10:14 AM, C.T. wrote: > Silly question maybe here, but have you used a server OS for that? > They tend to reduce overhead Good point. You might consider Arch, my favorite distro. Don't install X. That takes away quite a bit of CPU overhead right there. That's what I use on my Raspberry Pi which has about the same amount of horsepower as your miniserver has. Tweaking motion is one of the final steps I in my quest to get the Pi running as my home mini-server, similar to what you're doing. That's why I'm following this thread with interest. Wish I could say more about the tweaking of motion, though. > > Le 2013-01-27 à 04:15, Fabio Cecamore a écrit : > >> I'm sorry if I wasn't so clear in my goals. >> I'll try to explain this better: >> I've a miniserver with slow CPU (just 1.5ghz) that i'm using for >> stream files via samba or dlna, for dvb-t recording and p2p >> downloading (amule adunanza and torrent). >> The problem is this computer has all time an high % of CPU usage, >> adding motion I get often 100%.. >> * >> *I want to know if is possible reduce CPU usage only during the "not >> recording time", I mean when it is in Idle, for example by reducing >> fps while idle and increase to max when recording.. >> >> Is all this possible ?* >> *Thanks >> >>> Well if it truly is a CPU resource problem the easiest way is to "nice" >>> the motion process at startup. ie the shell script that launches motion >>> has the word "nice" before the motion command. You can arrange all your >>> processes in terms of the need for real time processing too. The dvb >>> recorder probably needs the highest priority for example. >> I'm using yet nice to get maximum priority during dvb-t recording :) >> but thanks >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET <http://ASP.NET>, C# >> 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. ON SALE this month only -- learn more at: >> http://p.sf.net/sfu/learnnow-d2d_______________________________________________ >> Motion-user mailing list >> Mot...@li... >> https://lists.sourceforge.net/lists/listinfo/motion-user >> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > > > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome |