Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: How to decrease CPU usage ? (tosiara)
   2. Re: How to decrease CPU usage ? (M?bin ??yer)
   3. Re: How to decrease CPU usage ? (Richard Bown)
   4. Re: How to decrease CPU usage ? (tosiara)


----------------------------------------------------------------------

Message: 1
Date: Sun, 17 Jan 2016 11:23:00 +0200
From: tosiara <tosi...@gmail.com>
Subject: Re: [Motion-user] How to decrease CPU usage ?
To: Motion discussion list <motion-user@lists.sourceforge.net>
Message-ID:
        <cachtdwsb_d1hdadd1wiuanw96qljbpqaeb7yen2gonckchn...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Mariusz, which hardware, pixel format and size are you talking about?
Also clarify are you talking about 100% cpu during recording or when there
is no motion at all (idle)?

So far there is the only bottleneck - JPEG decode/encode using ARM device
(same setup 60% cpu compared to 15% cpu with YUV format)

On Sun, Jan 17, 2016 at 11:09 AM, Colin Law <clan...@gmail.com> wrote:

> On 16 January 2016 at 23:25, Mariusz Ciszewski
> <mariusz.ciszew...@gmail.com> wrote:
> > Hello.
> >
> > I decided to ask you, how it works in real.
> >
> > I think motion always use CPU at level close to 100% because it treats
> many
> > frames per second as the processor can do. It means slower CPU process
> less
> > frames per second, higher CPU process more frames per second but both of
> > them use close to 100% CPU. Isn't it?
> >
> > If yes how can I decrease CPU usage in the best way (without large losses
> > for monitoring system purposes) ?
>
> The two ways to consider first are to reduce the size of the incoming
> image if possible and to slow down the motion frame rate (which can be
> set in the motion conf file).
>
> Colin
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Sun, 17 Jan 2016 10:24:55 +0100
From: M?bin ??yer <mubinic...@gmail.com>
Subject: Re: [Motion-user] How to decrease CPU usage ?
To: Motion discussion list <motion-user@lists.sourceforge.net>
Message-ID:
        <caa9kbaafrq+f6wjwnw64zug7lxwmmdahaga5mitqphhme-m...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I am running it on a BananaPi, Raspbian 7 (wheezy), I set the frame rate to
1f/s, it consumes only 16% of CPU.

2016-01-17 10:09 GMT+01:00 Colin Law <clan...@gmail.com>:

> On 16 January 2016 at 23:25, Mariusz Ciszewski
> <mariusz.ciszew...@gmail.com> wrote:
> > Hello.
> >
> > I decided to ask you, how it works in real.
> >
> > I think motion always use CPU at level close to 100% because it treats
> many
> > frames per second as the processor can do. It means slower CPU process
> less
> > frames per second, higher CPU process more frames per second but both of
> > them use close to 100% CPU. Isn't it?
> >
> > If yes how can I decrease CPU usage in the best way (without large losses
> > for monitoring system purposes) ?
>
> The two ways to consider first are to reduce the size of the incoming
> image if possible and to slow down the motion frame rate (which can be
> set in the motion conf file).
>
> Colin
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sun, 17 Jan 2016 10:21:21 +0000
From: Richard Bown <rich...@g8jvm.com>
Subject: Re: [Motion-user] How to decrease CPU usage ?
To: motion-user@lists.sourceforge.net
Message-ID: <20160117102121.60d5e3d7.rich...@g8jvm.com>
Content-Type: text/plain; charset=UTF-8

On Sun, 17 Jan 2016 10:24:55 +0100
M?bin ??yer <mubinic...@gmail.com> wrote:

> I am running it on a BananaPi, Raspbian 7 (wheezy), I set the frame rate to
> 1f/s, it consumes only 16% of CPU.
> 
> 2016-01-17 10:09 GMT+01:00 Colin Law <clan...@gmail.com>:
> 
> > On 16 January 2016 at 23:25, Mariusz Ciszewski
> > <mariusz.ciszew...@gmail.com> wrote:
> > > Hello.
> > >
> > > I decided to ask you, how it works in real.
> > >
> > > I think motion always use CPU at level close to 100% because it treats
> > many
> > > frames per second as the processor can do. It means slower CPU process
> > less
> > > frames per second, higher CPU process more frames per second but both of
> > > them use close to 100% CPU. Isn't it?
> > >
> > > If yes how can I decrease CPU usage in the best way (without large losses
> > > for monitoring system purposes) ?
> >
> > The two ways to consider first are to reduce the size of the incoming
> > image if possible and to slow down the motion frame rate (which can be
> > set in the motion conf file).
> >
> > Colin
> >
> >
>
I'm running motion on a Ordoid C1+, twice as fast as a rasp PI2, and using the 
same as a set top
box to run Kodi.

What I would like is to find a way of only recording events that take more than 
say 5 secs,
I get loads of .avi files that are 20-30 KB that show nothing, where there is 
real movement
captured they are always longer than 50KB in length.
Its events like the low winter sun shining thru a tree and the branches moving 
in the wind.
A spider filter would be a big advantage , they are a ****** PITA

-- 
-- 
Best wishes /73 
Richard Bown

Email : rich...@g8jvm.com
HTTP  :  http://www.g8jvm.com
nil carborundum a illegitemis
##################################################################################
Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W & 3cms 5W
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W
OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop
##################################################################################
 




------------------------------

Message: 4
Date: Sun, 17 Jan 2016 12:37:35 +0200
From: tosiara <tosi...@gmail.com>
Subject: Re: [Motion-user] How to decrease CPU usage ?
To: Motion discussion list <motion-user@lists.sourceforge.net>
Message-ID:
        <CACHTdwSPU2Qm50532=Fw--UV+cLC4=t9rzf02w8ypyreo5t...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Richard, try tuning a param called minimum_motion_frames

https://github.com/Mr-Dave/motion/blob/master/motion-dist.conf.in#L227

On Sun, Jan 17, 2016 at 12:21 PM, Richard Bown <rich...@g8jvm.com> wrote:

> On Sun, 17 Jan 2016 10:24:55 +0100
> M?bin ??yer <mubinic...@gmail.com> wrote:
>
> > I am running it on a BananaPi, Raspbian 7 (wheezy), I set the frame rate
> to
> > 1f/s, it consumes only 16% of CPU.
> >
> > 2016-01-17 10:09 GMT+01:00 Colin Law <clan...@gmail.com>:
> >
> > > On 16 January 2016 at 23:25, Mariusz Ciszewski
> > > <mariusz.ciszew...@gmail.com> wrote:
> > > > Hello.
> > > >
> > > > I decided to ask you, how it works in real.
> > > >
> > > > I think motion always use CPU at level close to 100% because it
> treats
> > > many
> > > > frames per second as the processor can do. It means slower CPU
> process
> > > less
> > > > frames per second, higher CPU process more frames per second but
> both of
> > > > them use close to 100% CPU. Isn't it?
> > > >
> > > > If yes how can I decrease CPU usage in the best way (without large
> losses
> > > > for monitoring system purposes) ?
> > >
> > > The two ways to consider first are to reduce the size of the incoming
> > > image if possible and to slow down the motion frame rate (which can be
> > > set in the motion conf file).
> > >
> > > Colin
> > >
> > >
> >
> I'm running motion on a Ordoid C1+, twice as fast as a rasp PI2, and using
> the same as a set top
> box to run Kodi.
>
> What I would like is to find a way of only recording events that take more
> than say 5 secs,
> I get loads of .avi files that are 20-30 KB that show nothing, where there
> is real movement
> captured they are always longer than 50KB in length.
> Its events like the low winter sun shining thru a tree and the branches
> moving in the wind.
> A spider filter would be a big advantage , they are a ****** PITA
>
> --
> --
> Best wishes /73
> Richard Bown
>
> Email : rich...@g8jvm.com
> HTTP  :  http://www.g8jvm.com
> nil carborundum a illegitemis
>
> ##################################################################################
> Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W &
> 3cms 5W
> Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
> QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W
> OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop
>
> ##################################################################################
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

------------------------------

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 116, Issue 4
*******************************************

Reply via email to