Rationale for transparent_hugepage support being enabled by default?

So, my machine has always seemed to be a bit less responsive that it should be for the beefy 16G RAM, SSD, i7 quad core machine that is, but I could never really pinpoint why it was slow. Chrome/Chromium would always consume CPU and sometimes lead to stuttering(ie, periods of a few seconds consuming 100% CPU across all cores).. Or VMWare would just seem extremely slow with similar stuttering. And they were always linked somehow. When Chrome stuttered, all other applications worked fine, but VMWare completely froze until Chrome started responding again. And vice-versa.
While chasing down why Chome 38 made this issue about 500% worse (to the point that I was about to forget it and install firefox instead) I was looking in top and noticed that khugepaged would use quite a bit of CPU at the same time. I googled it on a whim and came across a magical pair of instructions:
echo madvise > /sys/kernel/mm/transparent_hugepage/enabled
echo madvise > /sys/kernel/mm/transparent_hugepage/defrag
Suddenly, instead of VMWare idling at around 30% at all times and Chrome processes idling at 2-3% each (not to mention horrible stuttering for both), now VMWare idled at around 5%, and Chrome processes weren't even on the map.
One of my friends tried this and suddenly he saw huge performance gains as well on an Ubuntu system.
I want to understand why this is enabled by default. I tried searching for it and found a few broad overviews of what it does.. but not why it's useful, and most of the results I see (including on this forum) are all suggestions to turn it off to improve performance or avoid kernel thrashing.
Can someone tell me what transparent_hugepage support is enabled for, what applications or workflows it might make better, and why for all the problems I see in search results, it's still enabled by default?

Strike0 wrote:In my view the set of those default options is very sane indeed to protect Arch users with a security-wise safe default for the time being.
AFAIK, there are no security issues around Privacy Extensions... I assume you meant privacy.... If we are to patch for privacy, then we should disable javascript, cookies etc in all browsers in the official repos. That would be akin to patching for security, where we should set AllowRootLogin = no in sshd_config, and enable iptables to block all traffic by default.
Strike0 wrote:I see your points, but autoconf IPv6 addressing is one of those changes that should entail an informed opt-in IMO - at least at this time of adoption.
It's no different to connecting to a network and obtaining a DHCP lease, except more information is generated by your computer rather than a (possibly unknown/untrusted) network administrator
Strike0 wrote:Plus it is easy to change persistently.
Once you know how and what you're looking for, hence I thought it might be useful to have this thread.
Strike0 wrote:One way forward might be to add reasonably long TTL options for the temporary IPv6s in sysctl. Setting those to a time longer than the average reboot time might make away with side-effects and inefficiencies by multiple assigned temp IPs.
That could be a valid compromise in the situation. I would like to suggest setting the option to '1', but I'm not sure even what the point of this setting is since the kernel will prefer the stateless address for outgoing connections, the PE addresses would only be useful for incoming traffic, which is kind of pointless when the address will change within a very short lifetime (compared to an IPv4 address, or "static" stateless IPv6 address).

Similar Messages

  • Despite my Javascript for Firefox 23 being "enabled" ( I checked re the "about:config" steps), some websites are still asking me to enable my Javascript.

    Despite my Javascript for Firefox 23 being "enabled" ( I checked re the "about:config" steps), some websites are still asking me to enable my Javascript to view content. Safari works without any problem. OS/X 10.8.4

    These files are hidden to me because my OS/X is 10.8.4 and I cannot make them appear. This is way, way more trouble than it's worth. Thanks for your help. Firefox has lost me.

  • Mail account for: shortname is not enabled

    After migrating over from 10.5, my Open Directory users are unable to access email. All other services are working. The recurring pattern is "mail account for: <shortname> is not enabled". Any ideas, even crazy ones?
    [Mail Access log]
    auth(default): od(pseudonym,127.0.0.1): auth mech=CRAM-MD5
    auth(default): od(pseudonym,127.0.0.1): username=pseudonym, challenge=<[email protected]>, response=df109a3ef93c61c1e2b7fc4fb1f67fa4
    auth(default): od(pseudonym,127.0.0.1): mail SACL is enabled; overriding settings in user record
    auth(default): od(pseudonym,127.0.0.1): found user in local table: user=pseudonym
    auth(default): od(pseudonym,127.0.0.1): mail account for: pseudonym is not enabled
    auth(default): client out: FAIL 113 user=pseudonym
    imap-login: Aborted login (auth failed, 1 attempts): user=<pseudonym>, method=CRAM-MD5, rip=127.0.0.1, lip=127.0.0.1, secured
    [User Record from Workgroup Manager]
    <?xml version="1.0" encoding="UTF-8"?>
    <dict>
    <key>kAPOPRequired</key>
    <string>APOPNotRequired</string>
    <key>kAltMailStoreLoc</key>
    <string></string>
    <key>kAttributeVersion</key>
    <string>Apple Mail 1.0</string>
    <key>kAutoForwardValue</key>
    <string></string>
    <key>kIMAPLoginState</key>
    <string>IMAPAllowed</string>
    <key>kMailAccountLocation</key>
    <string>server.example.org</string>
    <key>kMailAccountState</key>
    <string>Enabled</string>
    <key>kPOP3LoginState</key>
    <string>POP3Allowed</string>
    <key>kUserDiskQuota</key>
    <string>0</string>
    </dict>
    I've already had to update the dovecot.conf once <http://support.apple.com/kb/HT3792>, but I can't tell if this is on the Dovecot side or the OD side.

    Many thanks to Apple Enterprise Tech Support.
    The access control list for mail was not set to all users and groups.
    To fix:
    (1) In Server Admin, select the server.
    (2) Select the 'Access' panel.
    (3) Select the 'Mail' service'
    (4) Set the radio button to 'Allow all users and groups'.
    Previously I'd had mail restricted to 'only users and groups below'.

  • HT201299 My Iphone 4s wont remember the disable cellular data for certain apps as I soon as I switch on the 3g and go back to home and come back again to Cellular the all apps are being enabled..Please help

    My Iphone 4s wont remember the disable cellular data for certain apps as I soon as I switch on the 3g and go back to home and come back again to Cellular the all apps are being enabled..Please help

    First, try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Is there really not an email address for tech support that you (or I, if absolutely need be) could forward my below email to?  ( I really do not want to waste time being put on hold on the phone.)  Issues times 3 - Regarding iPad 2 with IOS 7:  1.)  I can

    Is there really not an email address for tech support? ( I really do not want to waste time being put on hold on the phone.)
    However, I have 3 Issues Regarding iPad 2 with IOS 7:
    1.)  I can no longer open up the apps from the update page. (I used to be
    able to &amp; it was a quick way of making certain that I wanted to keep an app
    before I updated it.
    2.)  I have many apps that I have updated since installing the new
    operating system &amp; they now have "open" symbols next to them, but I don't
    know how to get them off of my update list (since that has already been
    done to them).
    3.)  My iPad has gotten stuck or frozen more in this last week since the
    new update then has in the last 2 years put together. (It seems to be stemming from the "Updates" page as sometimes  that page is just white &amp; will not open, even though everything else opens &amp; I have an internet connection.)

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430http://support.apple.com/kb/ht1430
     Cheers, Tom

  • TS4449 When i make call from iphone,loudspeaker is being enabled automatically and not able to  hear any sound ..

    When i make call from iphone,loudspeaker is being enabled automatically and not able to  hear any sound ..
    And some time it's worked...

    OMG.....this very tiny hole located next to the headset jack........I suffered for the same issue around 20 days after purchasing my iPhone 4S. Even I visit the apple store too, they suggested to talk with apple online.....just before going to apple, i was reading "iPhone: Hardware troubleshooting" (http://support.apple.com/kb/TS2802) and at the very first line, i found "Make sure that nothing is blocking the top microphone (located next to the headset jack)." and this located next to the headset jack solved the problem completely for sound in vidio as well as sound with calling speaker phone.....Actually, I purchased a plastic cover (like screen protector type) that blocked this small hole (microphone hole i think) and the problem was because of this...I remember on the first day i talk with speacker phone (nothing on iPhone at that time) and it was working...
    No need to restore or hard reset anything...i was fearing i'll lost everything if I hard reset my iPhone that took 5-10 to build my iPhone as I like apps, music, vidio on it....

  • Java Runtime parameters- setting trace/log levels and enabling by default

    Hi,
    I have a user reporting that a Java app that I support is unexpectedly quitting, and our developers are having trouble tracking down exactly what's causing the problem.
    I'm trying to enable the maximum possible logging/tracing for this user, but I don't want to have to rely on them remembering to hit '5' on the console window to enable tracing on everything. Having read through the runtime documentation, I have added the following to my JRE runtime parameters:
    -Xdebug  -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect -Djavaplugin.outputfiles.overwrite=falseHowever, I still get nothing in the log file until I manually hit '5' on the Java console, then everything I do after that gets added to the log.
    Does anyone know how can I get the maximum logging/tracing enabled by default as soon as the JRE is loaded?

    >>
    -Xdebug  -Djavaplugin.trace=true-Djavaplugin.trace.option=basic|net|security|ext|livec
    onnect
    -Djavaplugin.outputfiles.overwrite=false
    One problem is that -Djavaplugin.trace.option=basic
    OR net etc ... pick one of the options which are
    separated with pipe symbols or use "all" without
    quotes.
    I'm having a similar problem with Java 6 - it seem
    that nothing I put in the runtime parameters takes
    effect. I had to edit
    /home/USERNAME/.java/deployment/deployment.properties
    and add deployment.trace=true.On second thought, I could be wrong about the trace options. I really don't know if you can combine options but I did see "all" somewhere.

  • Is CEF enabled by default on some routers?

    Sorry for the newbie question, but I was wondering if CEF is enabled by default on all routers, none, or just some (like high end routers).
    Thanks

    Well, after searching through CCO, this is what I found:
    "Note On the Cisco 12000 series routers, dCEF is enabled by default. The command to enable dCEF is not available. Also, the configuration file does not indicate that dCEF is enabled on the router."
    "Note CEF switching is not supported in GPRS Release 1.4 in Cisco IOS Release 12.2 and earlier. However, CEF is enabled by default. "
    So I guess on some items it is enabled by default. Now I know :)

  • XA transactions enabled by default

    I would like to check if XA transactions are enabled by default on installation of Oracle10gR2 Enterprise, and 11g? I believe it is, however I wanted to know what controls this during the install.
    I would also like to know how to verify if this is installed by interrogating the database with some query?
    I've seen a similar post with no replies: How to check if XA transactions are enabled?
    I also see many references from IBM's WebSphere documentation stating a need to initialise the JServer and XA transactions using initjvm.sql and initxa.sql. However I've also read resources that suggest the XA transaction support is installed by default:
    'The initXA.sql script needs to be run before XA transactions will work. These are usually installed by default in 10gR2.'
    http://download.oracle.com/docs/cd/E12461_01/130/installation_guide/Chapter%203%20-%20Database%20Installation%20Tasks.htm
    Thanks,
    Louis Burton

    Hi Salman,
    Thanks very much for your response. I had actually checked the orafaq you linked to but was worried it may not be up to date for the current oracle versions, as after stating:
    'Oracle is XA compliant by default'
    I see that there are specific script steps listed to run (xaview.sql) for a much older version of Oracle 7.3.
    I have also just looked at My Oracle Support note 1201244.1 'Health check list when configuring XA Transaction in Oracle SOA 11g'
    For the database this states :
    •Verify if XA is enabled in the participating database server. The steps to prepare the database for XA are:
    1.Log on to sqlplus as system user, for example, sqlplus sys/CHANGE_ON_INSTALL
    2.Execute the following command: @xaview.sql The xaview.sql script resides in the $ORACLE_HOME/rdbms/admin directory
    Now it doesn't actually give instructions for how to verify if this is enabled, it just instructs to verify, and then gives steps on how to enable it.
    Elsewhere in the article it describes checking necessary parameters using:
    'show parameter distributed_lock_timeout;'
    Is having a value here sufficient to verify that it has been configured?
    I am also more confused now also, as this note and the orafaq both quote running the xaview.sql, whereas elsewhere I have read to use the initxa.sql script for enabling XA.
    http://www.ibm.com/developerworks/websphere/library/techarticles/0407_woolf/0407_woolf.html#N10739
    On looking at the xaview.sql I see that it creates two views.
    However after logging into my database as sys I recieve:
    SQL> desc v$xatrans$
    ERROR:
    ORA-04043: object v$xatrans$ does not exist
    SQL> desc v$pending_xatrans$
    ERROR:
    ORA-04043: object v$pending_xatrans$ does not exist
    Does this mean I don't have it enabled by default as the links you gave state? These scripts have not been run manually that I know of. I can't follow the note step to verify if its enabled as it doesn't explain how to.
    I do know we use container managed transactions from app servers, such as WebLogic, with XA datasources against the database without issue.
    I apologise if I have misunderstood something, any clarification is appreciated.
    Louis Burton

  • Webex Meeting Center and Jabber for Ipad support in Webex Telepresence

    Hello, I have a two questions which are unclear based on my browsing of posts in this thread.
    1) Are traditional Webex Meeting Center meetings able to be joined to a Webex Telepresence session?  Ie. I have two callway/webex telepresence nodes (SX20 and a C40) can they have a webex meeting center participant brought in?
    2) Is Jabber for Ipad supported using the Webex Telepresence service?  Using the example endpoints above I have a SX20 and C40 and they want to add a Webex for Ipad endpoint in.
    Thanks.

    You cannot have Telepresence endpoints using Callway service(WebEx TP service) join a webex session directly. You can do this however using WebEx enabled Telepresence which is meant for on-premise users to work with WebEx
    http://www.cisco.com/en/US/docs/telepresence/infrastructure/tms/config_guide/webex_enabled_telepresence/cts_webex_config.html
    In the call way (aka WebEx tp service), the work around is you have to use an endpoint that has multi site capabilities to make one video call and see video from other end points and then make an audio call to the WebEx service and bridge them together. Now users can audio and video and presentation remains on WebEx but it's not like the true webex enabled telepresence which today call way doesnt support
    See attached PDF last page. Also you may need a PSTN subscription to make that call happen

  • AJAX Report Refresh  a_report- Condition for display not being validated

    Hi ,
    I have a report which has the following condition for dispaly:
    Exists(SQL query returs atleast one row) - SELECT * from temp1The query for the report is : select * from temp1 Now I have a button on the page and on click of the button I call the below Javascript :
    function f_insert_Temp_table(pTrans){
          var l_Return = null;
          var get = new htmldb_Get(null,$x('pFlowId').value,
                  'APPLICATION_PROCESS=temp_table_insert',206);       // ODP to insert into temp1
          get.add('TRANS_ID_ITEM',pTrans);
          gReturn = get.get('');
         //alert(gReturn);
         //$x_Show('6342610690289435');
         $a_report('6342610690289435','1','15','15');
    }Everything executes fine and the report refreshes the rows but the condition used for display doesn't get checked when I call $a_report() ...
    I can see the ODP execute successfully and row gets inserted into temp1 which means report condition is satisfied .
    If I remove the condition for the report, I can see the report getting refreshed and showing new rows through the $a_Report() call.
    Is there something that needs to be added to the script or $a_report call to validate the condition too ?Is there a way I can validate the region condition too ?
    Appreciate any suggestions/pointers here. I really do not want to refresh the whole page.
    Thanks,
    Dippy
    Edited by: Dippy on Feb 5, 2010 11:05 AM

    Hi Flavio,
    Thanks for your support.I figured where I was going completely wrong.
    Its just that when the page loads for the first time the temp table is empty and hence the report is not being displayed which simply
    means that the report id Im passing into the a_report function is not rendered on the page. Hence no matter what the temp table contains the report id is absent from the page.
    I fixed it as follows :
    Remove the condition for the report.
    Added and item and computed(P_Compute) its value using select count(*) from temp.
    Added an onload JS function which does a $x_Show('Report_Region') if P_Compute > 0 or $x_Hide('Report_Region') if P_Compute <0 .
    Now in my JS function which has an AJAX call to an ODP does an $x_Show('Report_Region').
    Flavioc : the query for my report is simple
    select * from tempIt finally dawned upon me that I'm trying to catch hold of an ID that's not rendered.
    So one issue is solved now the other part would be figuring out how to make $a_report work with pagination etc .

  • How to extend Sales org for a material being Changed

    Hi Experts,
    i need to extend sales org , distribution Channel for a material .
    my table look like this and having 6 fields shown below
      1             2         3               4            5                     6
    Sales org | Des | Distn Chnl | desc |  Copy from So | Copy from Dstn Chnl
    If the user enters the existing value in Copy From SO and Copy Fron Distn Chnl  .  Then i need to copy all the values corresponding to the Existing SO and Distrn Chnl to the Newly entered Sales Org . 
    the table im displaying in ALV , if user perss F4 in copy From SO and Copy From Distn  , i need to show the existing values for the material being changed , this is working fine and i am able to get the existing values.
    After user selects one of the existing value for SO and Distrn channel  , i need to copy all the values to newly created So and distrn Chnl  .
    i dont know how to proceed . Please help me to solve this problem.
    Thanks,
    Shrikanth

    You can use AET to extend the sales area data of BP.  However, it wont add the fields automatically in GUI, But the generated fields are available in the relevant DB tables.
    BP GUI transaction is no more supported . Im not sure why you want to work on GUI.
    Regards,
    Shaik

  • Support Message Status should default to Incident in Solution Manager

    Hi Friends
    Need your Help!!
    I need to change the Priority settings set for the support message in Solution Manager , If a user logs a support message in the ECC system (production) with any priority (low, medium, high, very high etc.) it should default to Incident in Solution manager.
    From there the client wants to classify the Priority as per his requirement in Solution Manager.
    The current settings are like below
    For a Low Priority it is defaulting to Incident
    For a Medium Priority it is defaulting to 1: Bug P1-2
    For a High priority it is defaulting to 2: Bug P3-4
    For a Very High Priority it is defaulting to 3: Bug P5-10
    Really appreciate your help, many thanks.
    Kind Regards,
    Vattikonda.

    Hi
    thank you for response.
    It is the clients requirement to default the priority status to Incident if a support message is created from a managed system (ECC).
    for e.g,
    An user creates a support message in ECC production client giving the relevant input and he selects the priority as High, this created message should default to Incident in solution manager.
    please see how the current settings are from my earlier  at the bottom..
    Kind Regards,
    Sandeep.

  • When will Adobe Reader for iOS support Livecycle XFA forms?

    Adobe Reader for iOS currently does not appear to support XFA forms created through Livecycle. Although it supports some field types, the HTTP submit and Email submit buttons don't work.
    Being able to email the completed form ready for someone else to submit would be a work around, however when attempting to 'share' a completed form and send it by email the form is blank when saved and opened in the desktop version of Adobe Reader on a PC.
    We are getting more and more requests from ipad users who wish to use our forms, and it seems that some other paid-for apps claim to support this. Seeing as Adobe Reader is the industry standard product for using PDFs could we have more support for pdf forms please?
    ...or at the very least, a product roadmap with some dates for when this might be available please?

    There are two basic varieties of LiveCycle XFA...Static XFA and Dynamic XFA, which are very different in terms of their future for potential support in Adobe Reader for iOS. Which variety of XFA are you using?
    Static XFA uses the PDF markup language for content and form fields, so users can view the documents in Adobe Reader for iOS, but we currently do not properly handle filling, saving, and submitting those forms. I have improving our handling of Static XFA on my roadmap, but cannot offer any specific date yet (sorry, policy plus actual uncertainty). I know that there are some other apps that partially support Static XFA, though I do not know how complete their support is. If you can even open the XFA document in Adobe Reader for iOS, it is likely Static XFA.
    Dynamic XFA is effectively a JavaScript application packaged inside a PDF wrapper, which generates layout and form fields via code and requires a significant engine to support this. Support for Dynamic XFA is unfortunately not currently on our roadmap for iOS due to the nature of the technology, and our concern that any implementation we try likely will not pass Apple's restriction against installing something that allows other "apps" to be downloaded and executed from within it. The LiveCycle team is exploring solutions for our enterprise customers wanting to use Dynamic XFA from mobile devices as part of their server offering, but I cannot offer any insight here. To my knowledge, there are no applications that handle Dynamic XFA other than Adobe Reader for the desktop platforms (Windows, Mac, Linux).
    Dennis

  • Syslog not enabled by default in systemd setup

    I installed Arch Linux from the 2012.10.6 iso, using systemd, and following the new, lengthy instructions.  Made separate partitions for /var, /boot, and /home.  Used btrfs on all of them.  The system works fine, so far, except that most of the log files are missing.  dmesg works.  I intend this machine to be a server, so it has php-fpm and Apache, but not X Windows.
    This is what I have in /var/log:
    btmp  faillog  httpd/  journal/  lastlog  old/  pacman.log  php-fpm.log  wtmp
    Where is messages.log?  Checking further, I found that the syslog (actually syslog-ng) service was never enabled.  Soon as I activated syslog, messages.log and the rest of the usual files were created.  Also, cron (cronie) was not enabled, which means no logrotate.  Even if I missed something in the instructions, shouldn't syslog and cron be enabled by default?
    Issues like this have me wondering if systemd is such a good idea.  Making logging enabled by default ought to be easy enough to do, and shouldn't be a reason to back away from systemd.  But systemd has other issues.  It's Linux specific-- needs kernel features that are only in Linux.  So it won't work with FreeBSD.  From what I've read on LKML, the push towards systemd comes from the udev developers, who it seems are causing problems.  udev was not supposed to depend on systemd, and now it will.

    Have you read e.g. https://wiki.archlinux.org/index.php/Sy … md_Journal ?
    The last paragraph of your post was unnecessary as it's a rant and the issues you raised were covered multiple times already.

Maybe you are looking for

  • Ipod nano not recognized by Windows 7 USB

    I am having trouble getting iTunes to recognize my ipod nano after installing 11.02.26.  It seems I go through this after every update of itunes.  I get the following message:  An iPod has been detected, but it could not be identified properly.  Plea

  • Trouble transferring from Log and Transfer.

    Hi, I have a brand new Panasonic HDC-HS20 camera. I am recording with the HA1920 setting on my camera. While in Log and Transfer I am able to select the clips I want to add to the queue, but after FCE acts like the clips will be loaded; a red stop si

  • Scanner on USB 1

    Just a quickie, I'm looking at using a USB powered scanner with my eMac which only has USB 1 and I'm just wanting to be sure it will work. I understand it will be significantly slower than USB 2 but I don't mind that for now as I intend to get a new

  • BPEL designer issues

    Hi, I facing following problems while designing BPEL process using Oracle JDeveloper 10g BPEL Designer : 1> While editing XPath exp through query builder in activities (e.g assign, switch) it takes a lot of time which is actually irritating. 2>Someti

  • Alignment in Smart Forms- Label

    Hi Folks, I have data in an internal table. I have to print a label. In the print preview I am able to see the data like this. PLANT               : 0120          BATCH             9 MATERIAL       : 100628 MATERIAL DESC: Part 1 LIQUIDE RELEASE/LOT :