ALSA or Pulseaudio: which solution saves more energy?

Yes that's what I'm wondering. Is Pulseaudio using more energy than ALSA used alone? Maybe because it's more sophisticated designed or so? I tried to google the answer but couldn't find out much.. Just some informations that Pulseaudio could be configured to cache a lot and such reduce the number of interrupts.
Do you have more information on this topic?

Rorschach wrote:
Yes that's what I'm wondering. Is Pulseaudio using more energy than ALSA used alone? Maybe because it's more sophisticated designed or so? I tried to google the answer but couldn't find out much.. Just some informations that Pulseaudio could be configured to cache a lot and such reduce the number of interrupts.
Do you have more information on this topic?
PulseAudio, if working as intended, should be able to reduce your powerusage a lot. If your music player informs PA that it is playing music (rather than something which requires low latency such as gaming or chatting) then PA will tell ALSA to increase the kernel buffers and only wake up to re-fill them once per second.
When I last tested this the difference in wakeups/second want from roughly 200 when using pure ALSA to less than 5 using PA. This corresponds to a couple of watts difference.
Obviously your milage might vary, as optimizing your sound software won't make much of a difference if something else on your system keeps your CPU awake, there might be issues/bugs with your particular hardware/software, etc.
The best would be: use powertop to measure the before/after powerconsumption (you'll probably be best off if you use PA in combination with a gstreamer based app).

Similar Messages

  • Sleep versus shut down- which saves more energy?

    Our school is on an energy-saving kick. One administrator wants us to ask all users to shut down the computers every time that they are done with them, rather than just letting them sleep. This could mean up to a dozen shut downs and startups per day.
    My feeling is that this will save very little power, if any. However, the administrator wants hard data. Does anyone have a link for any stats as to the amount of energy consumed by repeated startups as opposed to just letting the computer sleep? How about wear and tear on the power supply possibly shortening the lifetime of the computer?

    Seeing as Apple computers generally consume about 5 watts of power when they are in deep sleep the savings probably won't be significant. Regarding wear and tear on the computer, it's about the same as well since a computer coming up out of deep sleep still has to perform most of the same functions as a computer that is starting from a cold boot (spin-up the disk, power-up the monitor, etc.,) short of loading the operating system. That being the case, something could be said about the savings in time between a computer starting from a cold boot as opposed to one that merely has to wake from sleep. There are trade-offs no matter how you look at it.
    Therefore, the Energy Saver in System Preferences may present a happy compromise between your concern of constantly starting-up and shutting-down the computers during their regular daily use and your administrators need to try and save energy/lower costs. You can schedule start-ups and shut-downs for the beginning and end of day.
    Providing you're not doing this already, just set the computers to shut-down at an appropriate time at the end of the school day and then start-up again in the morning before everyone arrives. You can even skip the start-up so that computers that may not get used aren't started up at all and computers that get used are started-up by the first person to use it that day.

  • Save More than 1000 chars in a field of (Z) Database Table?

    Hi Friends,
    I created a database table with few fields. In the table, one field is REMARKS which should save more than 1000 characters for every record. For that field,  I created domain & data element of char with 2000 length. But system gives an error representing that "Should not be more than 255 chars ".
    Even, select statement is also retrieving 132 chars only, if remarks are less than 255 and greater than 150 chars.
    Could you please provide me solution?
    Thanks
    Sarayu

    Hi,
    The Most simple solution for it can be that Divide the field REMARKS of size 1000 in multiples of 200 characters like REMARK1, REMARK2....REMARKn.
    Now you can create two FMs :
    zset_data:  To Store 1000 char long data in Table
    Here you will divide the data of Variable (type char1024) in multiples of 200 and will store in REMARK1, REMARK2.....
    zget_data: To Get 1000 char long data back from Table
    Here you will concatenate REMARK1, REMARK2..... and will store in Variable of Type char1024.
    This is the best solution if Table is not going to be maintained by Table Maintenance Generator.
    Thanks
    Ajay

  • Disable "Your computer may use more energy with these settings"

    I frequently use my laptop for presentations or video chats, and I frequently have to turn off my screen saver and disable all my Energy management settings to prevent that stuff from showing up during a presentation.
    However, every time I drag the Energy Saver timers around, I get the annoying message:
    "Your computer may use more energy with these settings"
    The box forces me to hit Okay to acknowledge this painfully obvious message. How do I disable this prompt from popping up every single time I adjust my Energy settings? Plist setting somewhere perhaps?

    Thanks Livia and Huevoos (eggs??) for your interest in this post.
    In a nutshell, I haven't been able to solve this. I gave up on Apple support after they proved useless.
    As Huevoos suggested, and I confirmed it time and again after browsing thru endless forums, it seems that the user validation routine for the Mac App Store is done by looking into your network settings, which in my case are either incomplete or erroneous due to the broken-down ethernet. (I am still waiting for somebody more experienced in this forum to contradict or explain this).
    So, because I still have wireless connection, I can use my machine for day-to-day chores, have not been able to purchase anything up to this date in the Mac App Store though. I'm waiting for either a software update that could correct this (Mountain Lion??? there's no guarantee only hope) or the moment when my machine will need to be replaced by a new one with a functional ethernet.
    I'm sorry I can't be of more help. But I'm pretty much in the same situation as you guys.
    Live long and prosper.
    Brt1618

  • How to save more than 2 records at a time in tabular form?

    I have a table name SAMPLE_TABLE, which has SNO,NAME items and one sequence name is SEQ_SAMPLE.
    i have one form based on SAMPLE_TABLE. my form is in tabular format, which has 5 records.
    in the layout wizard only NAME is displayed. SNO doesnot displayed.
    in the layout wizard, there is one push button named as SAVE.
    the code of SAVE button(When_Button_Pressed) is
    insert into sample_table values(seq_sample.nextval,:sample_table.name);
    clear_record;
    commit;
    my problem is :
    when ever i want to save one record at a time there is no problem.
    if i want to save more than 2 records at a time then sequence number is alloted for last record. other records have no sequence numbers.
    for example i want to insert 2 names as XYZ,PQR then
    the table look like this:
    sno name
    1 PQR
    XYZ
    if SNO is primary key then it doesnot work because of null value.
    can any one solve my problem?
    Thanks
    Meegada

    Is the block a database block or a control block,
    1. if database block, assign the primary key on a
    trigger like new record instance for each record
    enteredour's is a control block, ididnt get your point clearly
    could you make it clear how to assign a primary key on a trigger
    our criteria is we are having two block as lov_values and lov_name
    lov_values:
    lov_values_id (sequence generated)
    lov_id will be same for the all the values for a particular lov_name
    lov_values will be which we enter in the form which will be the only visuble colums on the form
    lov_name block:
    lov_name
    lov_id(sequence generated)
    could you help me with the code
    thanks
    prasad

  • Not able to save more than 2000 characters

    Databse - SQL server 2000
    I am using jdbc to save some text in sql server 2000 database. column is of type ntext.
    If text is more than 2000 character, i am getting an error.
    I tried changing the connection setting to sendstringparameterasunicode=false. After setting this property i am able to save more than 2000 characters, but i am not able to save some special characters. eg - . I am not able to save “abc” but i can save "abc". So it is not recongnizing the double quotes in the first scenario.
    Amit
    Edited by: rushtoamit on Feb 22, 2010 8:48 AM

    No idea. But it isn't a java nor jdbc (general problem.)
    Thus if you are seeing something that tells you it is too big it either comes from the driver or the database.
    So your solutions are
    1. Use a different database and driver
    2. Use a different driver
    3. Modify your code

  • Iphone6 why can't I save more than one contact?

    iphone 6 why can't i save more than one contact?

    Hi Diovani
    Two different processes can have different task initiators...task initiator means creation of a process instance which can happen only once

  • Stopwatch which can save split/ Laptimes to a file

    I am using Labview 7, and an E-series daq card. I would like a stopwatch which would start and write a split time to a file when an increased voltage is seen. I cannot program a clock which will save a split time. This is for an undergraduate project.

    I am not really clear what code you need. Here is an example program for measuring split time.
    Using LabVIEW as a Stop Watch to Track Total Time of an Event
    You may want to look on NI's advanced search page for more hits. It is better than NI's easy to find search engine.

  • In SQL Trace how to see which statement getting more time .

    Hi Expart,
    In SQL Trace (T-code ST05) . I am running the standard transaction . how to see which statement
    running more time and less time . suppose one statement running more time so how resolve the
    performance .
    Plz. reply me
    Regards
    Razz

    > The ones in 'RED' color are the statement which are taking a lot of time and you need to
    > optimise the same.
    No, that is incorrect, the red ones show only the ones which need several hundret milliseconds in one execution. This can even be correct for hard tasks. And there are lots of problem, which you will not see
    I have said everything here:
    SQL trace:
    /people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
    Go to 'Tracelist' -> Summarize by SQL statements', this is the view which you want to see!
    I summarizes all executions of the same statement.
    There are even the checks explained, the slow ones are the one which need a lot of time per record!
    See MinTime/Rec > 10.000 microseconds.
    Check all number of records, executions, buffer, identicals.
    The SE30 Tipps and Tricks will not help much.
    Siegfried

  • How do I save more than 5 emails in a folder on my iphone 4s?

    How do I save more than 5 emails in a folder on my iphone 4S? It only holds 5! It automatically drops off the oldest, 6th
    email. Is there a way to hold more?????

    Swiping does nothing. I save 5 emails in a folder and if I save
    The 6th one the first one drops off and Is deleted. It's not even
    On my desktop. Is there some way to expand the size of what
    You save in folders?

  • How can I "Save" more than 1 page at a time?

    Firefox 4.0.1. Safari 5.0.5. iMac OS10.6.7. Just started using Firefox. Can't figure out how to Save more than 1 page at a time. Tried to save 3pp article in NY Times, several times in several ways. No deal. Went back to Safari and did it easily. Probably because that's what I'm used to. How do you do it on Firefox? This is probably a dumb question, but please be kind. Any reply appreciated. I've spent a couple of hours trying to solve this myself.

    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or Alt+B to open the Bookmarks menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    * "Bookmark All Tabs" (Shift+Ctrl+D) no longer shows in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark This Page" can be accessed via the right-click context menu of that browser page.
    * "Bookmark All Tabs" can be accessed via the right-click context menu of a tab on the tab bar.
    See also:
    * [[How do I use bookmarks?]]
    * Bookmark All: https://addons.mozilla.org/firefox/addon/bookmark-all/

  • How to save more than one Contact Person in CRM

    Hi experts,
                     How to save more than one contact persons in CRM opportunity Application?
    I am using following Function Module...
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_partner        = lt_partner_com
        CHANGING
          ct_input_fields   = lt_input_fields
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
    I am giving the input field name as 'PARTNER_FCT', 'PARTNER_NO', 'DISPLAY_TYPE', 'NO_TYPE', 'MAIN_PARTNER' and 'RELATION_PARTNER'.
    The problem is it is saving only one contact person, not more than one.
    Please help me how to save more than one contact persons.

    In SPRO partner processing this needs to be configured.

  • Which is less/more secure, Mac OS 10.4.11 or Mac OS 10.6.8?

    I understand that both Mac OS 10.4.11 and Mac OS 10.6.8 have security holes, and that 10.4.11 is no longer supported.  If neither 10.4.11 nor 10.6.8 are supported, and if unpatched vulnerabilities in 10.6.8 are worse than those in 10.4.11, then I presume that, because fewer people use 10.4.11, nobody will attack it, whereas many people use 10.6.8 which makes it more attractive to hackers.
    Therefore, my question is this:  did 10.5.x and/or 10.6.x (and their respective Safari versions) introduce new security vulnerabilities that are not present in 10.4.11, or are all of Snow Leopard's (or Safari 5.1.10's) critical security vulnerabilities inherited from earlier versions such as Tiger?

    Most people would likely disagree with me, & although higher versions of OSX got Security fixes, I think older is or can be made more secure.
    TenFourFox for PPC & Firefox for Intel is a more advanced Browser than Safari in either version.
    I consider Little Snitch essential for security also in 10.4.11 to 10.10.2
    There are also some security fixes for 10.4, 10.5, 10.6 that you can apply yourself, here's a link to Bash fixes & maybe ntpd fixes...
    For 10.4/10.5 PPC...
    http://tenfourfox.blogspot.com/2014/09/bashing-bash-one-more-time-updated.html
    For 10.6...
    http://x704.net/bbs/viewtopic.php?f=12&t=7156&p=89620&hilit=bash#p89620

  • Which solution for better perfomance?

    I'm writing java application based on XML. This application have to store very large XML file into DB (XML file is about 1000MB large). My solution is to divide it into smaller (100MB) parts (because of memory resources) and store it in DB. I have one XMLType table based on object-relational storage (so at the end there will be 10 rows each of 100MB size).
    XML file looks like:
    <students>
    <student id="1">
    ...// 5 nested elements or collections of elements
    </student>
    <student id="2">
    </student>
    <student id="3">
    </student>
    </students>
    </students>
    Now I need to get java object Student which correponds to <student>element. My solution is to select whole <student> element and use JAXB to convert it to Java object. While solving a problem with selecting <student> element (just in case you know a solution for my another problem: How to select specific element from a XML document using JDBC? another question raised in my mind.
    Which solution has better performance when I don't need to select relational data but I'm interested in xml fragment?
    1) Use object-relational storage
    2) Use CLOB storage
    As I figured out object-relational storage is better for selecting data like student name. But is it also better when I need whole xml fragment?
    Isn't my solution completely wrong? I'm quite a newbie in XML DB so it's possible that I missed better solution.
    Thanks for any advice

    I don't know which version you have regarding 11g, but probably in this case I would go for a table with a XMLType Binary XML column. To make xpath and other statements perform use Structured or Unstructured XMLIndexes to support your queries. The following has worked for far smaller XML documents but the millions we used were good for a total of >> 1 TB total storage size...
    CREATE TABLE XMLTEST_DATA
    (    "ID" NUMBER(15,0),
          "DOC" "SYS"."XMLTYPE"
    ) SEGMENT CREATION IMMEDIATE
    NOCOMPRESS NOLOGGING
    TABLESPACE "XML_DATA"
    XMLTYPE COLUMN "DOC" STORE AS SECUREFILE BINARY XML 
    (TABLESPACE "XML_DATA"
      NOCOMPRESS  KEEP_DUPLICATES)
    -- XMLSCHEMA "http://www.XMLTEST.com/Schema1.0.xsd"
    --  ELEMENT "RECORD" 
    DISALLOW NONSCHEMA
    PARTITION BY RANGE(id)
    (PARTITION XMLTEST_DATA_PART_01 VALUES LESS THAN  (100000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_02 VALUES LESS THAN  (200000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_03 VALUES LESS THAN  (300000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_04 VALUES LESS THAN  (400000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_05 VALUES LESS THAN  (500000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_06 VALUES LESS THAN  (600000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_07 VALUES LESS THAN  (700000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_08 VALUES LESS THAN  (800000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_09 VALUES LESS THAN  (900000000) TABLESPACE "XML_DATA" NOCOMPRESS
    ,PARTITION XMLTEST_DATA_PART_MAX VALUES LESS THAN  (MAXVALUE) TABLESPACE "XML_DATA" NOCOMPRESS
    CREATE INDEX test_xmlindex on XMLTEST_data (doc) indextype is xdb.xmlindex
    LOCAL
    parameters ('GROUP PARENTINFO_GROUP
                 XMLTable test_cnt_tab_ParentInfo
                ''/RECORD/ParentInfo''
                COLUMNS
                 GroupingID01 VARCHAR2(4000) PATH ''Parent/GroupingID'',
                 GroupingID02 VARCHAR2(4000) PATH ''Parent/Parent/GroupingID''
              ');

  • Which solution should I adopt? Applet or Java Web Start?

    Hi,
    I am developing a web application which should print cards through a printer in the client side.
    I would like to use a web start aplication to execute JNI calls in client side, but I am considering a possible solution the use of an Applet aplication to execute that.
    My question is "Which solution should I adopt?"
    Thanks a lot in advance.
    Regards.
    Paulo R. A. Sales.
    Software Architect.

    I would go for Java Web Start, since it is:
    a wonderful tool
    easy to use
    gives you full control
    you don't have to start your browser to print them cards
    But wait for better qualified responses as I haven't written an applaet since school.

Maybe you are looking for

  • Linking for Variance Report.

    Dear Sir, Please help me urgent basis.... I have created a one report go to KKO5(Report printer) and after go to KKO1 (Create Product Costing Report), but tell me where go and check report in SAP.. Exp.  Transaction Code:- KE30 (Run Profitability Rep

  • Oracle 10g - To find the corresponding record for a certain row

    Hi all, The scenario is like this - Suppose I've got a table with 100+ columns. For a certain row inside, I need to find its corresponding record which is in the same table. The way how I define "corresponding" here is - these two rows should be iden

  • Event ID 18221 after clicking refresh workbook

    Hello all, We have a SharePoint 2013 farm with excel services, besides we have a server with two SQL 2012 Sp1 BI instances one for database (default instance) and one named instance (servername\powerpivot) for sharepoint mode analysis services. In sh

  • Why is iPhoto creating new copies of faces in my mother's photos?

    My mother uses iPhoto to look at and edit her pictures.  She is getting very frustrated because it seems to be making new pictures of all the faces in her photos including a lot of faces she doesn't know or want (e.g., people gathered around tables a

  • Solaris 10 Net Install - Illegal Instruction

    Hi Colleagues, I 've been wrestling with this for awhile and can't seem to correct the problem. Searching the forum and the Web has also not returned any solutions. Problem: I'm trying to install Solaris 10 10/09 on a SunFire V100 (128MB Ram, 40GB an