What is the default swapiness of Arch? And how can I change it?

Actually, i'm only assuming my swap is even working, because it never seems to use it, except when I hibernate/suspend.
Does Arch use a "swapiness" value like Ubuntu does? What is it by default? I think Ubuntu's was either 60 or 80.

I'm not sure what the default swappiness is, since I've modified mine. If you've got a system installed and haven't touched anything you can find the default swappiness by doing
cat /proc/sys/vm/swappiness
as root. To adjust the swappiness, put
vm.swappiness = N
in the file /etc/sysctl.conf where N is between 1 and 100 (I believe.) Lower swappiness means that Linux will require higher memory pressure before it starts swapping things out.
Regards,
j

Similar Messages

  • I am trying to listen BBC radio news from BBC App, but on pressing the button I always get the error "there was an error playing this radio feed". What is the source of this error and how can I remove it?

    I am trying to listen BBC radio news from BBC App, but on pressing the button "live radio" I always get the error "there was an error playing this radio feed". What is the source of this error and how can I remove it?

    That is probably just a generic error message and you might not ever know what is causing it. Assuming that you have been able to play live radio with the app in the past (I know nothing about the app) and assuming that all other Internet related functions (Safari, email, etc.) are working properly on your iPad, quit the app completely and reboot your iPad.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot 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 if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that fails to resolve the issue, you might want to reboot your router, unplug it for about 30 seconds and then plug it in again.

  • What is the "Other" category under storage and how can i delete items from this?

    My disc is almost full.  "About this Mac" says that I have 47 GB of "Other."  What is this Other and how can I delete items from this?

    For information about the Other category in the Storage display, see this support article.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown asBackups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • Help with : How Can I know the schedule for a JOB, and How Can I Change?

    Hi
       I have a job and I know the name...I review in table TBTCO and I saw that this jobs is schedule at 11:00 AM and at 4:00 PM, but I need to change the schedule for this job..and that this job will execute al least four times during the day...I don´t know how can I change the schedule??
        I was thinking that if I  run the transaction directly I can run, Im not sure, because I try to do in QAS environment... I when I try to run the program..the system doesn´t do anything..this mean I cant execute with F8, such as if I should be complete a parameter, but all the fields are completed.
         Thank you for your help, I promese that I will gice you points for your help.
    Alice

    Thank you at all.
    I was reviewing the options that you send me, but Im confused about... if its possible edit the schedule that this job has in this moment, because if I enter the transaction SM36 or try to see SM37..in production environment I can´t see this schedule...
    And Im not sure to do the correct steps to create something new... in QAS environment..I can´´t see this job.
    All of yours help are really important
    Thank you again!
    Alice

  • What is the default OS for iBook and iBook G4?

    What is the default OS for iBook and iBook G4?

    You can check the specs of ALL iBook models (G3 + G4) at everymac.com
    http://www.everymac.com/systems/apple/ibook/index-ibook.html
    If your iBook has a processor less than 867MHz it won't be able to run
    Mac OS X 10.5 Leopard, though methods exist to allow it unofficially.
    Old first model colors iBook G3 (not white dualUSB) have other limits.
    A reference app for Apple product specifications, download http://mactracker.ca
    Hopefully you can match your questions with the various databases online.
    Good luck & happy computing!

  • What is the default screen brightness setting and keyboard backlight brightness default setting, and how to you go back to default?

    What is the default screen brightness setting and keyboard backlight default setting? I just got a new Macbook Air and fiddled a lot with it, and now just want to know how to set the brightness levels back to default. Thanks everyone!

    Hey sberman,
    I maxed out the screen brightness before I clicked on "restore defaults" in system preferences> energy saver (which has to do with battery, not exactly screen brightness) to see if the screen went back to a "normal" brightness level, but it didn't. I don't think it restored the brightness to default..

  • What are the uses of MVC, Extension and how to create it for begineers pls

    what are the uses of MVC, Extension and how to create it for begineers pls
    dont give link for tutorials please explain ,
    thank you,
    Regards,
    Jagrut BahratKumar Shukla

    Hi,
    Check out this link :
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm</a>
    It is the best possible explanation and documentation that you'll get.
    Thanks,
    Tatvagna.

  • What is the error code mean? And how to solve it ?Please give your answer. Thanks

    What is the error code  mean? And how to solve it ?Please give your answer. Thanks
    Attachments:
    QQ截图20140403134626.png ‏59 KB

    duplicate post
    LabVIEW Champion . Do more with less code and in less time .

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

  • I have been trying to download and install a trial. What is the best browser to use and how do i do it?

    I have been trying to download and install a trial. What is the best browser to use and how do i do it? The set up and everything is on the desktop but it never seems to load anything?

    what file (name and extension) is on your desktop and what os?
    what have you done to install the desktop file and what do you see when you do that?

  • What is the 'other' on my iphone and how do I delete it?

    What is the 'other' on my iphone and how do I delete it?

    Solution
    My "other" partition was up to 25G !!!! on my iphone 4S and I didn't want to restore my phone as I would loose important SMS and info on it and re-arrnage 1000 apps again.  
    I found this link and followed the steps
    http://www.ipodrepublic.com/iphone/fixing-issue-other-files-iphone-memory/2010/0 3/31/#comment-47142
    Using that program suggested was free too.  I used it straight away after downloading it.  I removed my files in
    "media Folder".  These 3 folders was where I found the solution.
    -  Music  - all the "F" files
    - ApplicationArchives - all the big stuff
    - Recordings - all currupt M4a in there
    Vola!  My phone now has 25GB back!!!!! Other is just 26 killo bytes!  yes Killo bytes! 
    Hope that helps
    Cheers

  • What is the use for lock object and how to use the lock objects

    Hi Guru's,
    I am new to ABAP .Can you please clarify the that what is the use of lock object and how to use the loct object .what is use of the Deque & Enque  function modules .

    hi ,
    below are some minfo about lock objects :
      Lock Objects
    These types of objects are used for locking the access to database records in table. This mechanism is used to enforce data integrity that is two users cannot update the same data at the same time. With lock objects you can lock table-field or whole table.
    In a system where many users can access the same data, it becomes necessary to control the access to the data. In R/3 system this access control is built-in on database tables. Developers can also lock objects over table records.
    To lock an object you need to call standard functions, which are automatically generated while defining the lock object in ABAP/4 dictionary. This locking system is independent of the locking mechanism used by the R/3 system. This mechanism also defines LUW i.e. Logical Unit of Work. Whenever an object is locked, either by in built locking mechanism or by function modules, it creates corresponding entry in global system table i.e. table is locked. The system automatically releases the lock at the end of transaction. The LUW starts when a lock entry is created in the system table and ends when the lock is released.
    Creating Lock Objects
    Lock object is an aggregated dictionary object and can be defined by using the following steps:
    o From initial data dictionary screen, enter the name for the object, Click Lock object radiobutton and then click on Create. The system displays a dialog box for Maintain Lock Objects screen
    o Enter short text as usual and the name for primary table.
    -Save
    -Select Tables option
    From this screen you can:
    Select secondary tables, if any, linked by foreign key relationship.
    Fields for the lock objects. This option allows you to select fields for objects (R/3 system allows locking up to record level). Lock object argument are not selected by user but are imposed by the system and includes all the primary keys for the table.
    1) Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
    2) Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
    3) Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
    Also, last but not the least, locking the object is logical (locking with any enqueue ) .so, you have to use the lock object while trying to access from second program .
    reward if helpful ,
    Regards,
    Ranjita

  • When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How can I found out the No. of Psocess running and How can I Release them

    Dear experts,
    How can I found out the No. of Psocess running and How can I Release them.
    I have 1GB RAM with oracle 10G. and please tell me How many processes can run with this RAM.

    >How can I found out the No. of Psocess running
    well, that depends on where you are ? if you are on windows then task manager will tell you what all processes are running. if you are on unix then ps -ef will tell you about all the processes running on a particular machine
    How can I Release them.
    what do you exactly mean by Release ? if you mean "end" that again has 2 scenarios, first that process ends by itself (ie after completing its job), another can be killing the process , that again will depend upon operating system. in windows you can kill a process from task manager itself, in unix you can use kill -9 PID to kill a process.
    How many processes can run with this RAM.
    loads of other details required before one can answer this question.no of processes in a very simple manner will depend how much memory is available and how much a process is eating.
    Sidhu

  • What is the DPS storefront.... how can we use it

    What is the DPS storefront.... how can we use it

    This is essentially a custom HTML implementation of the library.
    Please take a look at the DPS Devnet page: Custom storefronts and libraries | Adobe Developer Connection

Maybe you are looking for