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
Xv(3X)																	    Xv(3X)

Name
       Xv - X Window System video extension

Description
       The  Xv	extension provides support for video adaptors attached to an X display.  It takes the approach that a display may have one or more
       video adaptors, each of which has one or more ports through which independent video streams pass.

       An adaptor may be able to display video in a drawable, capture video from a drawable, or both.  It translates between video encoding (NTSC,
       PAL,  SECAM,  etc...) and drawable format (depth and visual-id pair). An adaptor may support multiple video encodings and/or multiple draw-
       able formats.

       Clients use Xv(3X) to gain access and manage sharing of a display's video resources.  Typically, a client will use XvQueryExtension(3X)	to
       determine  the  status of the extension, XvQueryAdaptors(3X) to get a description of what video adaptors exist, and XvQueryEncodings(3X) to
       get a description of what video encodings an adaptor supports.

       Once a client has determined what video resources are available, it is free to put video into a drawable or  get  video	from  a  drawable,
       according  the  capabilities  supported.   Clients  can	select	to  receive events when video activity changes in a drawable and when port
       attributes have changed.

Summary of Library Functions
       The following is a summary of Xv library functions:

       XvGetPortAttribute(3X) - return current port attribute value

       XvGetStill(3X) - capture a single frame of video from a drawable

       XvGetVideo(3X) - capture video from a drawable

       XvGrabPort(3X) - lock port for exclusive use by client

       XvPortNotify(3X) - event generated when port attributes change

       XvPutStill(3X) - write a single frame of video to a drawable

       XvPutVideo(3X) - write video into a drawable

       XvQueryAdaptors(3X) - return adaptor information for a screen

       XvQueryBestSize(3X) - determine the optimum drawable region size

       XvQueryEncodings(3X) - return list of encodings for an adaptor

       XvQueryExtension(3X) - return version and revision of extension

       XvSelectPortNotify(3X) - enable or disable XvPortNotify events

       XvSelectVideoNotify(3X) - enable or disable XvVideoNotify events

       XvSetPortAttribute(3X) - set an attribute for a port

       XvStopVideo(3X) - stop active video

       XvUngrabPort(3X) - release a grabbed port

       XvVideoNotify(3X) - event generated for video processing

       Each of these functions is described in its own Xv man page.

XFree86 							   Version 4.7.0							    Xv(3X)
All times are GMT -4. The time now is 02:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy