Linux swap file

Hello

someone knows the recommendations pour configuration the swapfiles for Linux servers on an ESX environment to avoid the double permutation or least have the optimum configuration?

Thank you

David

Hello to you,

Usually it is recommended to have 1.5 to 2 times in Exchange the memory size up to ' to 2 GB max.

But it is not always necessary.  We remind that the swap file is used unless it is out of memory.  So if is certain that he won't miss memory, can put less.

In addition, in a machine virtual is much easier to add memory ram on a server, so it can afford a little less swap.  With Vsphere 4, we can even add memory in stop the virtual machine.

In addition, needed it is extremely easy to add the swap on a virtual server, come in 3 orders.

When the double swap, I not sure what you mean.  Is that what you're talking about because of missing memory in the party machine and the ESX Server?

I hope this helps you.

Stephen Pouliot

-

Tags: VMware

Similar Questions

  • When the vm swap file is created?  Question of test sample.

    Have several vmware docs what state it takes place when vm powers on:

    sched.swap.Persist Specifies if the virtual machine swap files

    If persists or removed when the VM

    is turned off. By default, the system creates the swap

    file of a virtual machine when the virtual machine is

    power and removes the swap file when the virtual

    machine is turned off.

    The host creates swap VMX files automatically, so there is enough free space on the disk at the same time a virtual machine is running.


    So that's what I answered on the supplied vmware test and it was marked as incorrect, but he gave no explanation.  So when is it created exactly?


    Thank you

    "What is the page file to a Windows guest operating system or the swap of a guest operating system Linux created partition?"

  • Converter and Linux Swap

    Hello

    Why the converter cannot see Linux Swap partitions? I created a VM without any problems, except for the fact that it is not at all the second partition of the physical server. This is the original arrangement. Virtual MACHINE contains only the first and the third partition.

    # fdisk-l

    Disk/dev/cciss/c0d0: 146.8 GB, 146807930880 bytes
    255 heads, 32 sectors/track, 35139 bottles
    Units = cylinders of 8160 * 512 = 4177920 bytes

    Device boot start end blocks Id system
    / dev/CCISS/c0d0p1 * 1 26 106064 83 Linux
    / dev/CCISS/c0d0p2 27 1054 4194240 82 Linux swap / Solaris
    / dev/CCISS/c0d0p3 1055 35139 139066800 83 Linux

    HM, the SWAP partition is recognized correctly

    -->    
    -->     
    -->     
    -->    
    

    However, there is no volume which corresponds to this partition. Are the recognized only the volumes ' / ' and ' / boot ' (no Exchange). The swap partition is activated?

    Converter detects the SWAP partitions active file/proc/swaps by iteration. What is the result of

    # cat /proc/swaps
    

    on the source?

    Post edited by: ivivanov

    Updated the partition information pasted into the paper with the 'good' bad score :-)

  • Swap file UUID partition

    We had to resize our partition root on one of our 3.0.2 ESX host. In the process, our over Linux swap partition corrupted. We have restored the partition and then was re - activate the partition with the kswap command. We get always the no error of swap partition at the start of the host. I think the problem is that the specification of the UUID in the fstab file is incorrect. However, I can't find a way into ESX to list the UUID for the partitions of the host. Linux command like sudo blkid and ls-l commande┬a identifiant_volume do not work. What is the process to find the UUID in ESX swap partition, so I can correct in fstab?

    Thank you for any input,

    Greg

    dumpuuid $(swapon-s | grep partition | awk '{print $1}')

    (must fail with multiple swap partitions...)

  • Could what harm be if the swap file is deleted manually?

    In order to better perform on the drive C: of HDD (1), I put the drive V: on HDD (2) for virtual memory.

    If I have window shutdown properly without going into sleep / hibernation, I would like to know if I delete the file manually on V: drive, what harm could it be?

    Does anyone have any suggestions?

    Thanks in advance for your suggestions :>

    so if I'm going to restore the image of the OS to the C: drive, I can delete the Page file of formatting of the partition, which keep the pagefile.  On other words, also for a long time that the window is not start, so I can format the partition, who keep the pagefile, when Windows XP restarts, and can not find file, window regenerate another page file again, it would be correct?

    Does anyone have any suggestions?

    Thank you, to all the world a lot of suggestions :>

    OK, swap file contains nothing when your computer is off. all it is is the placeholder. so it can be deleted.

    and Yes windows xp will always make a new. I tried to disable the pagefile once and he continues to make a new: P

    Even if you try to delete the page file while windows is running, it will not work and windows will tell you that it is used by another person or program.

    -Alex

    will test to see if the pagefile is spilled in hiberfil.sys hibernation occurs during or not *.

  • Swap file Windows 7

    Separated from this thread.

    Hello there, first sorry my bad English, and if subject iposting badly want application, any swap file, I have windows 7 / 8 GB of ram and my question is if I don't put the custom paging file no pagin file I have damage pc hardware or not?  Thanks for the reply

    Hello

    You need a page file and you should let Windows manage.

    How to change or move the virtual memory paging file in Windows 8, Windows 7 and Vista
    http://www.Vistax64.com/tutorials/132201-virtual-memory-paging-file-change.html

    ===============================

    To improve performance using these methods.

    References to Vista also apply to Windows 7.

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or
    Windows 7

    http://support.Microsoft.com/kb/929135

    Use advanced tools to solve performance problems in Windows 7
    http://www.howtogeek.com/HOWTO/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-Windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    Optimize Windows 7 for better performance
    http://Windows.Microsoft.com/en-us/Windows7/optimize-Windows-7-for-better-performance

    Open the troubleshooter of Peformance
    http://Windows.Microsoft.com/en-us/Windows7/open-the-performance-Troubleshooter

    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Think about it an absolute must - manually update your drivers.

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded: run DriverView - define the VIEW
    for the drivers Microsoft hide - updated those without drain in their names. (Also updated
    the BIOS and chipset drivers.)

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers under Windows 7 (updated drivers manually using the methods above
    It is preferable to ensure that the latest drivers from the manufacturer of system and device manufacturers are located)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    Stop Windows 7 to automatically install device drivers
    http://helpdeskgeek.com/Windows-7/stop-Windows-7-from-automatically-installing-device-drivers/

    Turn off Windows Update Device Driver search prompt in Windows 7 / Vista (for the professional, full and Enterprise edition)
    http://www.AddictiveTips.com/Windows-tips/disable-Windows-Update-device-driver-search-prompt/

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/welcome-to-the-performance-and-maintenance-Forum/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/Windows-Explorer-has-stopped-working/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Windows 7 does not take into account swap file settings

    I have Windows 7 Professional 64 bit installed on a system with a mirrored system disk and two disks no mirroring, including a SSD drive which is configured with ReadyBoost. Because mirroring is to the integrity of the data, and has a performance cost associated with it, I don't want any file on my system disk. Instead, I want that page files on non mirrored disks.

    So I use computer-> properties and go to the "advanced system settings" to bring up the System Properties dialog box. I click on the "Advanced" tab and in the 'Performance' section, click on 'Settings' to bring up the "Performance Options" dialog box Then I click the "Advanced" tab and in the "Virtual memory" section, click on 'Change' to bring up the dialog box 'virtual memory '. Here, it lists the drive letters and for each drive paging file options.

    I put the SSD (:)) has 'Custom size' with ' Initial size (MB): ' as 24576 and ' size maximum (MB): ' as 24576, click on 'Set'. "" "")

    I put the other disk not mirrored (b) 'Custom size' with ' Initial size (MB): ' as 24576 and ' size maximum (MB): ' as 24576, click on 'Set'.»»» "

    I put the system disk (c :)) "No paging file" and click "Set".) I also tried setting the system drive (c :)) "Minimum allowed" value of 16 MB (size initial and maximum size).)

    I get the warnings appropriate, if I didn't put "No paging file" and accept the consequences. If I put the pagefile to 16 MB on the system drive, I don't get a warning of not having a swap file.

    I reboot, to let the new settings take effect. When the system is in place, if I put "No paging file" on the system drive, Windows tells me that it has created a pagefile on the system drive, and the file is approximately the same size as the physical memory, i.e. 12 G and the "Performance Options" Advanced tab reports that "the file size for all readers of Total paging" is 12288MB.

    If, instead, I put the system drive for the authorized minimum 16 MB paging file, Advanced tab "Performance Options" reports "Total paging file for all readers size" is 16 MB.

    In any situation he always respects the settings specified in the dialog virtual memory for other readers.

    I checked that 'HKLM\SYSTEM\CurentControlSet\Control\Session Manager\Memory Management\PageFileOnOsVolume' is set to 0, and 'HKLM\SYSTEM\CurentControlSet\Control\Session Manager\Memory Management\TempPageFile' does not exist OR has been set to 0 (Windows always change this parameter to 1 if I chose "No paging file" for the system volume.) So, I change it to 0, reboot and Windows it passes 1 ad creates the 12288 MB pagefile on the system volume).

    I disabled BitLocker - it does not start.

    I don't really know what hoops I have to pass through to convince Windows to use the swap file configuration that I specify. At the very least, if I put in place minimum swap file on the system drive, to avoid the essential consequences pagination on a mirrored disk performance and to prevent Windows from automatically creating the 12 G pagefile on the system drive, I expect that the other swap files on non mirrored disks will be used by the system , but dialogue "Performance Options" it is clear that single paging file in use is the one on the system volume - exactly what I don't want.

    Can you please tell me how to get Windows to my settings?

    Hello

    Please contact Microsoft Community.

    We have specific forum for the RAID configuration operating system and they are experts in this field of investigation and would be in a better position to address the concerns. So refer to the link below and post your query on the TechNet Forums.

    https://social.technet.Microsoft.com/forums/en-us/home?category=w7itpro&filter=AllTypes&sort=lastpostdesc

    I hope this helps. If you have any questions on Windows, please answer. We will be happy to help you.

  • How to replace the SWAP file. SYS that bulky and bulky?

    Hello

    My question is how to replace the SWAP file. SYS that is bulky and bulky?

    Is it possible to "BRING" different "restore points" as separate files and reduce in size for the management and portability?:

    The simple answer to your question is no!

    Please provide a copy of your system information file. Type the system information in the search box above the Start button and press the ENTER key (alternative is select Start, all programs, accessories, System Tools, system information). Select file, Export and give the file a name noting where it is located. Not to place the cursor in the body of the report before exporting the file. The system creates a new information file system each time system information is available. You must allow a minute or two before the file is completely filled before exporting a copy. Please download to your OneDrive (formerly Sky Drive), share with everyone and post a link here. Normal mode preferred report. Please say if the report was obtained in safe mode.

    For assistance OneDrive see paragraph 9.3:
    http://www.gerryscomputertips.co.UK/MicrosoftCommunity1.htm

  • Is it acceptable to allow a swap file on write?

    Is it acceptable to allow a swap file on write?

    Given that you can have a single file of paging at a time, is there no problem crushing.

    Good luck.

  • What to do with free mini PCIe - Flash for the swap file

    Hello

    in my T500, there is a free mini near the location of SIM location PCIe, but that's only half of length. I found an SSD at SuperTalent in these Dimensions. Someone out there who has tried to use this slot for storage, for example $TEMP or swap file?

    Kind regards

    Ronny

    It will not work. This SSD is designed for the Dell Mini 9, which uses a special type of mini PCI-e slot [FLASH_CON]. This slot machine is connected to a PATA or SATA controller on the motherboard.

    The DSS will not work on PCI-e standard minis housing because they are not connected to a PATA or SATA controller.

    I think that half height mini PCI-e slot is used for Intel Turbo Memory.

  • SWAP file data store remove issue

    Hello

    I'm currently moving VMs to the data store newly created as well the datastore file swap. I have already change on all ESXi hosts, the data store were swap file will reside, however, I have still a few virtual machines on the old data store. I know not if I vMotion virtual machines from one host to another it will change the location for the swap file. My question is, can I just remove the old data store without affecting production not VMs remained the swapfile on the old location? Just try to find a solution faster than vMotion every single one of the virtual machines.

    Thanks for any suggestions or comments!

    Chris

    Hello

    As long as all hosts are no longer using the data store and the cluster is not defined using volume swapfile host (rather than storing with VM) then you should be able to disassemble the old swap partition.

    Bare in mind, vMotion/svMotion a virtual computer, you must be sure to move all the files and the virtual machine is set to store his exchange with the virtual machine files. Check that the old swap partition is no longer in use, and then take it apart. In theory the fastest way is to ensure that all VMs are defined to store swap with virtual machine files to the off and on again, forcing a new .vswp file in the same device. But it would of course affect your VM availability.

    I've seen in the past that even if the volume was no longer used by the guests, that guests required a restart until I managed to remove the old Exchange store data, just in case you meet that!

  • Move the location of the VM swap file in another data store

    Hi all

    Was in a task to move the 1000 to the file location of VM swap on another data store which is newly assigned to Exchange us to the existing store database file that will be decommissioned.

    Eager to check if anyone has made movement swap of VM location of the files to a data store to another and that all measures taken to move.

    Require some VM downtime?

    Thanks in advance a ton.

    Yes it is possible without interruption of service to virtual machines.

    1. make sure that your cluster is configured to use swap data store specified by host

    2. take a host in the cluster in maintenance mode, change the location of the VM configuration file to point to the new data store

    3. do this for all hosts in the cluster

    When you vMotion a VM from one host to another the swap file will get moved to the new data store. Later when you take guests to the maintenance and return output mode, vMotion occurs for each computer in the cluster virtual and file is moved.

  • Swap File question?

    Hi guys hope can help.

    I P2V had a server ESXi 5.5 using the latest VMware converter and kept the the VM Version to 8.

    When I try to start the virtual machine, I get the following error:

    Cannot create the file ' / vmfs/volumes/5391ca58-87a88951-cf0d-2c44fd8a9f40/vmx-AMLSERVER.aml.local-2469954544-1.vswp ': not found

    Not able to start VMX: msg.vmk.status.VMK_NOT_FOUND

    I have ssh would be vmfs/volumes / and run the ls command, but there is no reference to "5391ca 58-87 a 88951-cf0d-2c44fd8a9f40.

    The data store must be "53a1a9b3-d8a2c8bd-0df9-2c44fd8a9f40" because it is where lives the virtual machine.

    I tried to add the following line to the VMX file sched.swap.dir = "/ vmfs/volumes/53a1a9b3-d8a2c8bd-0df9-2c44fd8a9f40/AMLSERVER.aml.local/" but after the addition of the virtual machine to inventory even once, I still get the error above?

    Any suggestions?

    Thanks in advance.

    Nevermind I figured it

    Virtual configuration--> the location of the Machine Swap file--> change--> store of the swap file in the same directory as the virtual machine.

    This rate my troubleshooting

  • Cache host / location of the Swap file

    I thought to move the files to a local SSD disk swap. My hosts are not really short memory, that I was just trying to save space on the SAN by moving Exchange out of the data store files. Is there a place any allowing the host Cache option if I move to the local SSD disk swap files?

    Evening,

    A few points to consider:

    When you say that the swap files do you have the virtual machine swap or Exchange against guests.  I would advise against the local Exchange against guests being on ssd for reasons HA.

    If you mean that the virtual machine swap file, this file is created when the virtual machine is running and is the size of the virtual memory of the virtual machine - any booking.  Put this file on ssd local has two benefits:

    1. swap because of the speed speed local ssd

    2. do not store your san (a requirement of your original question)

    Now, please keep in mind that this file is only used during the excessive demands of memory operations.  So, if you have zero on commit on the memory, they will never be used #1 do not really have an advantage.  If you find yourself with free' place san ing.  If it is essential for you, then of course do and by all means turn the swap feature to the host cache.  (Good article on it here http://www.yellow-bricks.com/2011/08/18/swap-to-host-cache-aka-swap-to-ssd/)  If you have ssd and you want to see the performance of your SSD where no more if hire you may just want to wait for 5.5 and use vSphere Flash Read Cache (article here that & #8217; s new in vSphere 5.5 storage |) VMware vSphere Blog - VMware Blogs)

    Please let me know if that answers your question.

    Thank you

    Joseph

  • Windows Server 2008 R2 comments: swap file problem

    I have several guests Windiows Server 2008 R2.

    What is the best way to rate, and then place the Windows swap file?

    For the physical Windows servers, many people suggest to allocate a fixed size page file whose size is 1.5 times the RAM: does make sense for virtual machines hosted as well?

    Is there a best practice or guideline to refer to?

    Concerning

    Marius


    Marius - Roma wrote:

    What is the best way to rate, and then place the Windows swap file?

    For the physical Windows servers, many people suggest to allocate a fixed size page file whose size is 1.5 times the RAM: does make sense for virtual machines hosted as well?

    Is there a best practice or guideline to refer to?

    As noted by A.P. the 1.5 x that RAM is really just an arbitrary number someone at Microsoft came at a time with and then walked into best practices with no real valid reason.

    However, it could be a few things to consider:

    Leave for the managed system is the easiest way, but could lead to a greater fragmentation of your C: drive.

    If the definition of a fixed size you should really consider to approve how much space you like Windows to be able to push in the pagefile with an internal memory. Usually if the machine Windows have a decent amount of RAM and page file usage is quite low.

    If adding an another virtual hard disk to the virtual computer and put the pagefile.sys on which you have a little more complex configuration, but could achieve savings if possible to exclude that drive in your backup tool and replication VM settings (if used). You could also possible to put all the files of comments VM on a sort of thin provisioned LUNS/NFS because it consumes a lot of space, but be used very little.

Maybe you are looking for

  • Satellite P200 - 1 K 9 stuck / stuck on the Toshiba homepage

    Guys, can anyone help; last night I was downloading music from Napster and left the laptop to run while I went out.When I came back, I couldn't return to the vista system. The laptop gets as far as the Toshiba start page and is stuck / hanging there.

  • 5646 envy: how to print invoices

    I followed the instructions of aardvark and felt like history. Invoices are zero, but I always want to them. He don't y medium n I seem able to click on one of the months while they are active links, and I do not see a statement to print pdf

  • The "maps" APP, how to remove blue highlight on the satellite, 10.11.3 image?

    How remove blue highlight image on satellite image "cards"? El Capitan 10.11.3 running

  • Camera focusing distance

    Is anything going to be done on the focus distance of the camera? Since the release and after a group of camera development, nothing was done or improved on the minimum focusing distance. The camera can not really take any macro shots because focus d

  • How should I treat a path of sting with "\T".

    Hello I have a way of TestStand string that contains '\T '. Example: C:\Program Files\Test How can I stop TestStand interpret this as a return to the tab. Thank you very much Shane.