Sponsored Content
Top Forums UNIX for Dummies Questions & Answers CPU load in video decoding using SAR Post 302849961 by John_giova on Tuesday 3rd of September 2013 04:30:01 PM
Old 09-03-2013
CPU load in video decoding using SAR

Hi, I'm John_giova and I'm new in this Forum. Sorry my english, it's not my first language.

So, I'm trying to check the CPU utlization during the video encoding and decoding (making a comparison between SW and HW ) using the SAR tool. According to a past thread I saw as CPU utilization I should have to consider %user+%nice+%system.
The questions are 2:
The first, more important, is: is the video co-decoding a user activity, and I need to consider just %user+%nice as CPU load or I have to consider also %system?
Second: why when I do the SW encoding almost the total load is on %nice column(few in user) and when I do HW encoding and both SW and HW decoding the main utilization CPU is in the %user column and the %nice column is totally zero??

I hope I have been clear enough, I'm not really pacticed with this.
 

10 More Discussions You Might Find Interesting

1. HP-UX

sar output gives 98% idle CPU

Dear All, Our HPUX 8 GB 8CPU database server is behaving abnormally for the last 4+ weeks. I have generated a sar output and it is here- 11:46:52 %usr %sys %wio %idle 11:46:53 1 1 6 92 11:46:54 0 1 0 99 11:46:55 0 1 0... (3 Replies)
Discussion started by: Ashrunil
3 Replies

2. UNIX for Dummies Questions & Answers

CPU utilization: sar vs ps

Any reason why the "sum of all" average cpu utilization numbers collected from ps during any given time sample are "consistently" lower than the corresponding numbers reported by sar (%usr, %sys). We have a Solaris O/S 2.8. We have been trying to correlate the CPU numbers from the sar, to the... (0 Replies)
Discussion started by: sevpert
0 Replies

3. Solaris

sar : insufficient address space to load xxxx device records

Hello, i am using Solaris 10, The sar running in my system might be corrupted, but not sure why as there has been no updates to it ( to the best of my knowledge) and it was working fine until few days back. If i try to get sar reports using sar -o <filename> 60 180 there is no error but the... (2 Replies)
Discussion started by: nimi20
2 Replies

4. Solaris

CPU load -12.50 in server.

Friends I have noticed that the Sun Fire v490 server with Solaris9 OS in my office, is showing a load of 12.50 during peak time and the CPU showing a max of 75% and an average of 60%. The Application running in this machine hung last month(For reasons unknown) and is running fine after... (5 Replies)
Discussion started by: Renjesh
5 Replies

5. Shell Programming and Scripting

Setup of sar command for CPU measures

I receive on a daily basis CPU measures on a UNIX Server (AIX 5.3 version, korn shell). These CPU measures are provided by Omnivision tool. We could see that Omnivision daily stats are not always equal to NMON stats regarding CPU level. On my side (I work in an IT Production Support Team, not... (0 Replies)
Discussion started by: Scofield38
0 Replies

6. UNIX for Dummies Questions & Answers

Is total CPU usage for sar %user+%system+%iowait?

Hi all Can anyone advise/confirm whether total CPU usage when running sar is %user+%system+%iowait or is it %user+%system only? I want to confirm whether I am having a CPU-bound problem or not. This is a single-CPU VMware machine. $ sar 5 20 Linux 2.6.18-238.5.1.el5... (7 Replies)
Discussion started by: newbie_01
7 Replies

7. AIX

Using sar to get CPU utilization for WPARs

Based on the documentation (Help - AIX 6.1 Information Center), I should be able to get the CPU utilization on a WPAR. But when I ran sar on the LPAR, I don't see the -@ option: Usage: sar { -A | } ]] ]] | ALL] ] ] I'm on AIX 6.1. ... (0 Replies)
Discussion started by: PPPP
0 Replies

8. Shell Programming and Scripting

how to increase cpu load

can someone suggest me some code in any language that will increase CPU and memory both. (3 Replies)
Discussion started by: learnbash
3 Replies

9. Linux

How to calculate total CPU usage from SAR report?

Hi, I want to calculate the total cpu usage from the sar report. Say for example, Linux 2.6.24-21-generic (blade10) 09/10/2012 04:54:36 PM CPU %user %nice %system %iowait %steal %idle 04:54:37 PM all 0.00 0.00 0.00 0.00 ... (1 Reply)
Discussion started by: rohitmd
1 Replies

10. Solaris

Understanding & Monitoring CPU performance (Load vs SAR)

Hi all, Been reading a lot of the cpu load and its "analogy of it to car traffic path of expressway" From wiki Most UNIX systems count only processes in the running (on CPU) or runnable (waiting for CPU) states. However, Linux also includes processes in uninterruptible sleep states... (13 Replies)
Discussion started by: javanoob
13 Replies
PLAYDV(1)						      General Commands Manual							 PLAYDV(1)

NAME
playdv - display digital video streams on screen SYNOPSIS
playdv [ options ] file DESCRIPTION
playdv reads in DV-encoded video data from file and displays it on screen. -v, --version show playdv version number. --disable-audio skip audio decoding. --disable-video skip video decoding. -n, --num-frames=count stop playing after count frames. --dump-frames=pattern save a PPM image of each frame to an individual file. pattern determines the file names and may be given in printf-style taking one numeric argument that gets replaced with the current frame number. Like capture%05d.ppm for files capture00001.ppm, cap- ture00002.ppm, etc. Use - to stream the frames to stdout. --no-mmap don't use mmap for reading (useful for pipes). -l, --loop-count=count loop playback count= times, 0 for infinite. Audio Output Options --audio-device=devicename target audio device; e.g. /dev/dsp, which is also the default. --audio-file=file send raw decoded audio stream to file, skipping audio ioctls. --audio-mix=(-16 .. 16) mixing level of 4 channel audio for 32KHz 12bit. 0 [default]. -16 selects second channel, 16 selects first channel. Video Output Options -d, --display=(0|1|2|3) method used to display video data on screen: 0=autoselect [default], 1=gtk, 2=Xv, 3=SDL. Xv is usually the fastest but requires XFree86 version 4.0 or higher with XVideo extensions. --aspect=(n|w|normal|wide) video display aspect ratio (for Xv only): n=normal 4:3, w=wide 16:9 . Not all window manager support resizing at fixed aspect ratio. If they do, resizing is done at fixed aspect ratio. --size=(10 .. 100) initial scaleing percentage (for Xv only): 10 <= n <= 100. Decoder Options -V, --video-system=(0|1|2|3) sets the video standard of the incoming DV data: 0=autoselect [default], 1=525/60 4:1:1 (NTSC), 2=625/50 4:2:0 (PAL,IEC 61834 DV), 3=625/50 4:1:1 (PAL,SMPTE 314M DV). Autoselect usually works fine. Only use this option if you know what you are doing. Video Decode Options -q, --quality=(1|2|3) quality level of desired video decoding. The process of decoding DV data is split into several steps. Each additional step enhances output quality, but of course also slows down decoding. If your machine is too slow to keep up an interactive frame rate, you might want to decrease this number: 1=DC and no ACs, 2=DC and single-pass for ACs, 3=DC and multi-pass for ACs [default]. -m, --monochrome skip decoding of color blocks. Another way to speed up the decoding process. Audio Decode Options -f, --frequency=(0|1|2|3) frequency of audio data in the input stream: 0=autodetect [default], 1=32 kHz, 2=44.1 kHz, 3=48 kHz. -Q, --quantization=(0|1|2) dynamic range of audio data in the input stream: 0=autodetect [default], 1=12 bit, 2=16bit. -e, --emphasis=(0|1|2) first-order preemphasis of 50/15 us: 0=autodetect [default], 1=on, 2=off. Help Options -?, --help Show help message. Use this command to get a brief description of available options. --usage Display brief usage message. SEE ALSO
dvconnect(1),dubdv(1),encodedv(1). AVAILABILITY
See http://libdv.sourceforge.net/ for the latest version. AUTHORS
playdv was written by Charles 'Buck' Krasic <krasic@acm.org> and Erik Walthinsen <omega@cse.ogi.edu>. This manual page is based on playdv's help message and was written by Daniel Kobras <kobras@debian.org> for the Debian GNU/Linux system (but may be used by others). January 2003 PLAYDV(1)
All times are GMT -4. The time now is 05:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy