Please make a swap partition optional at installation

Because i have enough RAM i would like to skip the creation of a swap partition at the setup.
Could you please make this available at the next (0.7) release?
lubot

As far as I remember Con Kolivas was testing some VM managers lately in his ck kernels.
These include hard swapiness (in <2.6.8.1-ck4) and mapped watermark (in 2.6.8.1-ck4).
http://members.optusnet.com.au/ckolivas/kernel/
Sun Aug 22 20:19:47 EST 2004
Mapped watermark??
This readjusts the way memory is evicted by lightly removing cached ram once the ram is more than 2/3 full, if less than the "mapped watermark" percent of ram is mapped ram (ie applications). The normal system is to aggresively start scanning ram once it is completely full. The benefits of this are:
1. Allocating memory while ram is being lightly scanned is faster and cheaper than when it is being heavily scanned.
2. There is usually some free ram which tends to speed up application startup times.
3. Swapping is an unusual event instead of a common one if you have enough ram for your workload.
4. It is rare for your applications to be swapped out by file cache pressure.
Disadvantage: Less file cache.
The mapped watermark is configurable so a server for example might be happy to have a lower mapped percentage. The default is 66 and a server might like 33
echo 33 > /proc/sys/vm/mapped
This removes the swappiness knob entirely and deprecates all my previous vm hacks (autoregulated swappiness, hard swappiness, kiflush).
You must be aware that the normal system usually shrinks the memory allocated for buffers & file cache until it becomes close to ZERO, making almost all the memory available for user applications.

Similar Messages

  • Feature Request: Please make a 5.0 (5.1 without woofer) option for surrou

    Hello Creative,
    please make an 5.0 option for your soundcards. There are still some people out there with high-end speaker systems. "These" people don't need a subwoofer, because they have full range front speakers (40hz -20khz +-3 db and at 30 hz -6 db). Most surround reci'vers have a bass management where you can redirect the LFE ( the ./"effect channel"/the subwoofer)to the fronts. So pls implement an LFE to front redirection into your drivers for audigy and x-fi, I think this can't be too difficult, because there are 4.0 and 2.0 option available.
    That is possible with my cheap onboard soundcard :-), so please show that creative is still the captain :-).
    It's no fun when you can't use your center speaker in games because of that.Message Edited by mjusik on -27-2005 03:54 PM

    I think there is no problem in doing that yourself. As LFE is currently only used by DVD Movies, (and EAX 5.0, if the developer implements that specific part), you only need to do redirection with your AC-3 decoder. If you download AC3Filter, you can use a matrix to say where every signal should go, essentially doing the redirection process you speak about.

  • No Disks that meet the citeria in the Solaris installer documentation found. Please check the system or try another installation option #

    I'm tring to install this on an IBM netfinity 5100 server which has ultra 160 scsi drives.I get this message
    "No Disks that meet the citeria in the Solaris installer documentation found. Please check the system or try another installation option #"
    Please help me. I new to UNIX and SOLARIS.Thanks!
    VC

    You are probably using the INSTALL CD that comes with Solaris x86.
    Don't use it but use the Software CD 1/1 to boot and install the system instead. The INSTALL CD is supposed to be used on a completely blank system (no other OS's) although even there I think Software CD 1/1 does the job.
    Also, if you are new to Solaris I advice you to get the FAQ (you can find it on e.g. http://www.science.uva.nl/pub/solaris/solaris2- it should be really helpfull during the first few weeks/months on Solaris

  • Is there an app for "streetview" on maps?  I would pay big $$$ to get that map program back, Apple please make that an option in the App Store!

    Is there an app for "streetview" on maps?  I would pay big $$$ to get that map program back, Apple please make that an option in the App Store!

    Upgrading to IOS6 was a big, big, big mistake..... I needed the street view feature for travelling about.... What they have in now is crap !!!
    Also.... YouTube app is gone.... Is this supposed to be progress ???

  • Please please make the Multitasks feature in ios 5 optional , like the bluetooth or siri which can turn it on or off

    hi everyone
    please please make the Multitasks feature in ios 5 optional , like the bluetooth or siri which can turn it on or off
    thank you very much to all of you
    please do not ignore this request and think about it please

    This is a user-to-user forum. You're not addressing Apple here. If you want to make a suggestion to Apple, use the appropriate link on the Feedback page:
    http://www.apple.com/feedback
    I think it's also possible you don't quite understand how multitasking works on the iPhone. Most of the apps you see when you double tap the Home button are not running. They are recently used. Very, very few apps actually run in the background. Apps that do continue to work in the background are apps that play music or use GPS.

  • More Apple Gobbledegook.  Cannot update my phone as message comes through "updating to iOS 7.0.4 requires at least 610 MB of free space on your iPhone.  Please change your media sync options to make more storage available"  What media sync options?  Where

    More Apple Gobbledegook.
    Cannot update my phone as message comes through "updating to iOS 7.0.4 requires at least 610 MB of free space on your iPhone.  Please change your media sync options to make more storage available"
    What media sync options?  Where are they ? How do I change them?

    Afraid, this doesnt help.  I've already unselected about 100 iTunes, resynced, and I still get the same message about 610 MB needing to be deleted.
    What is so magic about 610 MB as a number?
    Is this anything to do with iCloud? I was on the free 20 MB offeruntil last month and then got downgraded to 5 because I could n't see the need for paying for extra Cloud space.   Is this the reason why?

  • Can you please make an option for the next update to leave group chats

    Can you please make it so that we can leave group chats when we want

    This is a user t user forum. No Apple Development representatives are here.
    If you wish to give feedback to Apple use the feedback page.
    http://apple.com/feedback

  • [SOLVED] Please verify: swap partition needed for dm-crypt/LUKS??

    Hi,
    Can anyone confirm whether or not the following is accurate (from http://wiki.archlinux.org/index.php/Sys … artitions)
    There are 3 required partitions for any encrypted system:
    - The root file system: /
    - The initial boot partition: /boot
    - The swap partition: swap
    Do I need a swap partition if I encrypt? I can't seem to find reference to swap being mandatory anywhere else.
    Last edited by jwhendy (2010-10-12 13:27:12)

    You don't need swap. The minimal required setup is having two partitions: boot and root, where /boot must not be encrypted and / can be encrypted.
    Last edited by stfn (2010-10-12 12:45:22)

  • "The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again"

    I'm using Firefox 4 Beta and I tryed install update but I dont got success. Now every time that I go start the browser is displayed the mensage: "The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again"
    My release is installed not in default drive C:\. I installed in the other Partition on my PC.
    I don't have other release installed.

    Try a clean re-install.
    * Download the setup file from http://www.mozilla.com/en-US/firefox/RC (this is for the Firefox 4 release candidate)
    * Uninstall Firefox, do not select the option to "Remove my Firefox personal data"
    * Delete the Firefox installation directory - http://kb.mozillazine.org/Installation_directory
    * Re-install Firefox
    This process does not remove the Firefox user data such as bookmarks and passwords which are stored elsewhere in the profile folder.
    You may also need to manually reset the Software Update feature by deleting the software update files as shown in the "Software Update not working properly" section here - http://kb.mozillazine.org/Software_Update

  • Partition option not enabled feature in oracle 10g

    Hi,
    I have installed Oracle 10g on Linux 32 bit.
    But when I am adding a table with Paritiion its showing Partition not enabled.
    How to enable the Partitioning option without dropping the database.
    Kindly any help will be needful for me

    Hi,
    Means I dont have to drop the existing database?
    If I do Custom installation to Add Partitiong option under which meanu Partition option will fall?
    Do i need to perform the following steps:
    If it is not enabled in the database then :
    - Shutdown all databases that use this ORACLE_HOME
    - Run the following
    $ cd $ORACLE_HOME/rdbms/lib
    $ make -f ins_rdbms.mk part_on
    $ make -f ins_rdbms.mk ioracle
    - Startup the database and check the value for partitioning option in the
    v$option view, it should be TRUE now

  • [Solved]Can I install arch without a swap partition ?

    I only have one primary partition free to install arch, with 3 primary partition and 1 extend partition, I have no other choice except install without swap partition.
    Is there any suggestion? I will try it until I get a U storage to write .img in.
    Last edited by sailor (2009-03-17 00:47:31)

    Sure, it's perfectly possible to use any linux system without swap. including arch.
    There are 2 ways to do disk partitioning in /arch/setup:
    1) autoprepare. with this method, you pick a disk (a disk you want to use entirely). you will be asked some questions (including how big swap should be). this method will create the partitions with the sizes you mention (/boot, swap, / and /home) optionally you can add additional fs'es
    2) manual. the installer can launch cfdisk for you if you need to alter partitions (if you want this), and after that you can define pretty much your stuff the way you like it (eg no swap) iirc. i'm not 100% sure though.
    Frankly I don't understand why you say "I have no choice", if you don't have enough partitions, you can always create additional ones.

  • How to create swap partition on my mac

    Hi All,
    I am very new to MAC OS and I have VMWare installed on my MAC upon VMware running window7.
    And I am using Macbook Air with 8GB RAM the problem is I am running low RAM space and due to this system gets hugs all times.
    Rather than upgrading to new lappy just wanted to enquiry is there a chance to create a swap partition ?
    if it possible please let me the know the process to make it.
    Advanced Thanx
    Srinivas

    Csound1 wrote:
    Your Mac already has a swapfile, what is a swap partition?
    Exactly what it sounds like. A reserved section of disk that is used for swap. Normally the fastest part of the disk (or a dedicated disk) is chosen.
    The OS already handles expanding & swapping RAM to disk. It's only an issue on spinning disks, do you have an SSD Srinivas_Gadi?
    I can't see how a swap partition can be that much faster, ultimately if RAM is still writing back to the same disk it will perform within it's capabilities. All the other disk IO will be slowing the process too.
    See some of the old posts too…
    "swap" partition

  • How to mount and use swap partition _only_ for hibernation ?

    By "hibernation" I mean suspend to disk.
    My disk is a bit poor in RAM and the dirsk is slow, so I want to prevent any swap use of my system.
    AND I want to use hibernation, in order to boot fatser... and not to loose my workspace state.
    With a swap partition, hibernation works nicely.
    But any intensive web browser easily lealds to incresed memory usage, hence swap use.
    I have lowered the swap priority in /etc/fstab, down to 1 (and even tried 0).
    Still, I am not satisfied : If would like not to use swap at all but for hibernation.
    My plan was hence :
    1) disable the automatic swap mount at boot
    2) add a systemd unit to only moutn before hibernation
    The first part was easy : I added a "noauto" option in /etc/fstab. Great, no more mounted swap. But, as expected, no more successful hibernation.
    Then I tried to create a custom systemd unit.
    - first copy the unit file automatically generated by systemd in /run/systemd/generator/dev-....swap to /etc/systemd/system/
    - and add "Before=sleep.target" line in the Unit section
    Result file here :
    > cat /etc/systemd/system/dev-disk-by\x2duuid-blablablabla.swap
    [Unit]
    Description=Swap required for hibernation
    Before=sleep.target
    [Swap]
    What=/dev/disk/by-uuid/blablablablabla
    Priority=5
    >
    Next step show be to enable it, but I first run a safety check :
    > systemctl show dev-disk-by\x2duuid-blablablabla.swap
    Id=dev-disk-by\x2duuid-blablablabla.swap
    Names=dev-disk-by\x2duuid-blablablabla.swap
    Requires=-.mount
    Wants=system.slice
    BindsTo=dev-disk-by\x2duuid-blablablabla.device
    RequiredBy=swap.target
    WantedBy=dev-disk-by\x2duuid-blablablabla.device
    Conflicts=umount.target
    Before=sleep.target umount.target swap.target
    After=systemd-journald.socket dev-disk-by\x2duuid-blablablabla.device system.slice -.mount
    RequiresMountsFor=/dev/disk/by-uuid/blablablabla
    Description=Swap required for hibernation
    LoadState=loaded
    ActiveState=inactive
    SubState=dead
    FragmentPath=/etc/systemd/system/dev-disk-by\x2duuid-blablablabla.swap
    UnitFileState=static
    InactiveExitTimestampMonotonic=0
    ActiveEnterTimestampMonotonic=0
    ActiveExitTimestampMonotonic=0
    InactiveEnterTimestampMonotonic=0
    CanStart=yes
    CanStop=yes
    CanReload=no
    CanIsolate=no
    StopWhenUnneeded=no
    RefuseManualStart=no
    RefuseManualStop=no
    AllowIsolate=no
    DefaultDependencies=yes
    >
    The problem here is that, somehow, a RequiredBy=swap.target line is apaprently automatically added, and makes exactly NOT what I want.
    I've been battling a bit with systemd, but so far I have no clue how to do this correctly.
    Important : I wand a clean "official" way, not to do a "service" unit that calls an home-brewed script taht calls swapon. I can do that, but systemd should be able to do it better than me, and without any trick.

    Hello and thank you all
    @fdservices & @WonderWoofy :
    In fact, I forgot to mentionned swappiness, just tought about mentionneing the swap priority which act at a very different level is only revelevant when you ahve several swap files.
    I have already modified that setting since quite a long time... and it indeed makes the system behaviour so much better.
    Honestly, I could do with it... that's what I am doing since a few months in fact, and it really largely improved the user experience.
    Still, the setting only makes swapping unlikely, but does not forbid it.
    @WonderWoofy & @lucke :
    You may be right, I could satisfy with swapiness...
    Still, my feeling is that swap at run-time is mostly a remeniscence of the time where having several megabytes of RAM was juste a fantasm. At that time, at least for some intensive operations, simulating more RAM thansk to the cheaper & slower disk capacity was really decisive for a good user experience... and to allow some operations like some huge compilations. My feeling is that today, with our Gigabytes of RAM on our desktop/laptop, the need is much lower. In fact a swap is probably counter-productive for SSD for example (fast, yes, but swap is by nature something you write quite often, reducing teh SSD lifetime significantly). And simulating extra RAM is also counter-productive with applications such as web browsers which handle large amount of memory to handle cache themselves; it causes memory pressure, hence trigger swapping and machien slowdown instead of trigerring their pseudo-smart memory cleaning mechanisms. Last but not least, it does not encourage any improvement on application memory needs and rationalisation.
    In fact, unless when I compile huge programs, or on really-limited-memory (embedded) systems, or eventually if swap can be hosted on significantly faster-than-storage disks, I feel that swapping does not really improve the user experience and system performance... and in contrary reduces them by having to handle swapping on and off memory & cache pages.
    SO that's why I want to try. It's OK if I fail, swappinees fixes most my user experience issue, but I try to solve my more "theorical" issue as well.
    And honestly, it is also to lean & play a bit with systemd as well.
    More to come, I have things partially working now. Partially for now, and maybe perfectly with your help ?

  • [SOLVED] Swap Partition keeps being automounted, but it shouldn't.

    Hi,
    I created a swap partition as part of setting up a Linux From Scratch installation, and it was intended for that system only. However it is automounted every time I boot my arch.
    It is neither mentioned in my fstab or my mtab. I tried # swapoff , and that disables it for that instance, but after boot it's mounted again. Tried giving it an fstab entry with the noauto option.
    Last edited by krork (2015-01-05 18:11:24)

    Thanks Guys!
    I have not yet found a way to stop systemd from automounting the swap partition. I'm a bit busy this January. However, as a workaround I created a swapoff.service file in /etc/systemd/system with this content:
    [Unit]
    Description=Turns off Swap Partition
    DefaultDependencies=no
    After=getty.target
    [Service]
    ExecStart=/usr/bin/swapoff /dev/sdaX
    [Install]
    WantedBy=multi-user.target
    Replace the /dev/sdaX with your according partition, of course.
    Edit: Also you'll want to enable it: # systemctl enable swapoff.service
    So in case anyone else is having this problem and just wants a dirty fix, this worked for me, for now. If I find out how to keep systemd from automounting in the first place I'll let you know.
    Last edited by krork (2015-01-05 16:50:33)

  • How to uninstall partitioning option in 10gR2 EE?

    Hello everybody,
    I installed 10gR2 EE and certainly have not seen anything about partitioning. We were two persons installing the software and a database.
    When I log onto the database with SQL*Plus it says "with Partitioning option".
    Does anyone know how to deinstall this option or what to check/uncheck in installer so that this option will not be installed?
    select * from v_$option shows it is installed.
    Regards, Heiko
    Message was edited by:
    hkaschube

    Found it at last on my own...
    Seems quite simple and fairly obvious:
    cd $ORACLE_HOME
    jar xvf <<CD_DIR>>/stage/Components/oracle.rdbms.partitioning/10.2.0.1.0/1/DataFiles/filegroup1.jar rdbms/lib/ksnkkpo.o rdbms/lib/kkpoban.o
    cd rdbms/lib
    make -f ins_rdbms.mk part_off
    make -f ins_rdbms.mk ioracle
    But it works.
    :o((((((((
    Heiko

Maybe you are looking for

  • Changing the Look (Composed Looks) Hangs

    Everytime I try to change the look to a different Composed Look, the session hangs.  It doesn't appear that the look is ever changed. Are there any known issues with this?

  • Why does MS Word 14.2.3 run so slow on MacBook Pro and brand new iMac?

    Ever since upgrading to Mountain Lion, MS Word runs very slowly on both my 2007 MacBook Pro with 4GB RAM and a brand new iMac with 16GB RAM. I have trimmed fonts  in the systems and removed font conflicts and duplicates. Keyboard entries are delayed

  • Closing The Screen/Lid on my Macbook

    I am new to this forum and I am hoping I can make some contributions and indeed get some assistance from the group for my new Macbook. I have switched over having been a windows user for 10 years plus. I like to view DVDs on my Dell 22" screen and I

  • WHERE CAN I FIND MY SEARCH HISTORY?

    WHERE CAN I FIND MY SEARCH HISTORY?

  • Msgid returned be OCIAQEnq()

    I was trying to get the msgid returned in OCIAQEnq(): OCIRaw * msgid; OCIAQEnq(,,,,,(OCIRaw**) &msgid, 0); The msg was enqueued but I don't get the correct msgid. I can tell this by issuing a follow up query on the queue table with the same variable