Disable swap in rc.sysinit on eee with no swap partition?

I'm trying to tweak my boot speed on the Asus eee. The root partition is formated as ext2 and I didn't create a swap partition.
Inside rc.sysinit I found the following line:
status "Activating Swap" /sbin/swapon -a
Since I have no swap partition, is it nessesary to have this line or can I just comment it out?

DreamAxe wrote:Thanks, I'll just disable it then
I think you missed what Allan said there. You don't have to do anything at all, as that line will do nothing. It is best not to modify rc.sysinit as it isn't backed up...
Edit: and your total time savings from commenting this line out is going to be like 0.01 seconds, if that. It isn't worth it. Using a custom kernel and limiting the amount of work udev has to do would be much more effective; booting my Eee using my custom kernel takes ~12 seconds to an X login screen from hitting the power button.

Similar Messages

  • Out of memory with no swap causes disk activity

    Can someone explain what exactly is being read/written from/to disk in this situation?
    I have 2 GB of RAM and no swap partitions. Occasionally I'll forget how inefficient gwenview is at displaying very large images and accidentally double-click one. The entire system freezes; even alt+sysrq keystrokes are ineffective (and yes I do have them enabled).
    For about 5 minutes, the system is locked up and the hard drive light is flickering. That scares me a bit, because with no swap, what could it possibly be doing for 5 straight minutes? I used to think it was synching before doing the OOM-killing, but there's no way a sync could take that long. Judging from the sound of the hard drive, it's hda (the drive / and all the other system partitions are on).
    A few times after recovering from this I've run extensive data verification and never found any evidence of corruption, but I'd like to know for sure that the kernel isn't randomly deciding to use some filesystem as swap space.
    In the mean time, I'm playing with disabling overcommit -- setting vm.overcommit_memory = 2 in /etc/sysctl.conf. That enforces a hard memory commit limit of swap size + overcommit_ratio * ram size (so I've read) -- and I've also read that the default overcommit_ratio is only 50%. What the bloody hell? It's almost like someone thinks swap is more important than RAM -- hell-llo, I have 2 GB of RAM so that I can get *away* from swap!
    Anyway, I've set the ratio to 97% and so far things seem happy -- if I deliberately run out of memory, the process that did it always gets killed instantly and the system doesn't freeze up on OOM anymore."
    Another thing -- in all my out of memory situations so far, VMWare has been running. I suppose it's possible that VMWare is the one doing the swappage; I'll have to investigate that further.
    ~Felix.

    I think I've finally figured this out. It's a kernel bug -- I'm guessing that under normal circumstances, the "cached" column in the free command "doesn't count" towards how much memory the system thinks it's using. After all, it's just cached copies of stuff that should be elsewhere, and if you run out of memory, you can safely dump that, right? Unfortunately, /dev/shm is counted under cached rather than used memory (as I discovered in an earlier post).
    So if I've got 500 MB of stuff in /dev/shm * (which is where I mount my /tmp), there's now 500MB of stuff in the "cached" column that really does count -- system reaches all RAM full, decides it needs to dump cache, and suddenly finds that the 500MB it thought it could use isn't usable. For some reason it takes about 5 minutes of hard drive thrashing (probably because it's already chucked all of the system libraries, etc. out of cached and needs to re-read them from disk every time) before something finally figures out that it really is out of memory and that that 500MB isn't letting go and invokes OOM-killer.
    *: VMWare does this; it creates a 512MB file (the amount of RAM in my virtual machine) then hides it by keeping the file open and deleting it, so the inode's still there, but you can't see it and it makes the df command really perplexing... but that's another story.
    I haven't had a chance to try this with a newer kernel (maybe they've fixed it now?); I'm still running 2.6.23-ARCH here. (pacman -Syu upgrades are a major production for me because I have lots of RAID arrays and things, and an nvidia graphics card, and I use gnucash which sometimes needs manual recompiling, and so on...)

  • I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I cannot install Creative Suite 5.5 on my Windows 7 Professional. I keep getting error message: "Exit Code: 15 - Media DB sync failed". I have disabled UAC and Startup items and Services with no luck. Can you please help?

    I am sorry Erickkasner but there is no longer direct support provided for Creative Suite 5.5 installation issues.
    You are welcome to post any specific errors you are able to discover within your installation log to this discussion.  Since you are using Windows then Exit Code 15 could mean one of the following:
    Installer database is corrupted
    Update pending to your operating system
    Improper permissions set for the Media.db
    The installation log file should provide additional insight into the exact error you are experiencing.  Please make sure to use the find command to look for the words 'ERROR' and 'FATAL' to locate the relevant error messages.

  • My ipad is disabled and it tells me to connect with itunes. i cannot connect to itunes bc it says i need to enter my passcode. the ipad is locked up. how do i correct this?

    My ipad is disabled and it tells me to connect with itunes. i cannot connect to itunes bc it says i need to enter my passcode. the ipad is locked up. how do i correct this?

    If you do not have the password, you can only do a restore-resetting the iPad to factory condition.

  • Just to version 7.Like all updates,ad-ons get disabled.The ad-ons that was disabled,where I am not able to open my emails.Why can't FireFox have updates without disabling ad-ons we need to work with?

    Just to version 7.Like all updates,ad-ons get disabled.The ad-ons that was disabled,where I am not able to open my emails.Why can't FireFox have updates without disabling ad-ons we need to work with?

    ''guigs2 [[#answer-672422|said]]''
    <blockquote>
    NoScript stops cookies, please disable this addon/extension as well as make sure that the language en-us is installed.
    # 1) Open up the Firefox Preferences tab. You can do this by typing about:preferences in the URL bar.
    # 2) Click "Content"
    # 3) Next to "Languages", click "Choose"
    # 4) Select "English/United States [en-us]", click "Add"
    # 5) re-open "about:accounts"
    # 6) Click "Get Started"
    </blockquote>
    Thank you for replying. Unfortunately, I already did all of these things. As you can see from the below screenshot, the language is already set. Also, this screenshot was taken in Safe Mode, so NoScript is not enabled. About:accounts still says I need to enable cookies for some reason. So, this solution didn't work....

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

  • TS2446 Account disabled message appeared. Tried to loggin with new password. Payment verification message appeared. When details are give Rs 60/- is charged and account is disabled once again.

    Account disabled message appeared. Tried to loggin with new password. Payment verification message appeared. When details are give Rs 60/- is charged and account is disabled once again.

    Hello Errappa,
    Thank you for using Apple Support Communities!
    I was thinking that it would be a good idea for you to call our Account Security team about what may be happening with the account.
    Note: You will need to be able to verify the account.
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699?viewlocale=en_US
    Cheers,
    Sterling

  • HT1212 ipod Touch 5th generation. I changed the original passcode and then forgot, so it says 'iPod is disabled'. It hadn't been synced with iTunes, so I switched it off, held home button, connected to Mac, did restore on iTunes twice but it doesn't work.

    ipod Touch 5th generation. I changed the original passcode and then forgot, so it says 'iPod is disabled'. It hadn't been synced with iTunes, so I switched it off, held home button, connected to Mac, did restore on iTunes twice but it doesn't work. Help!

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Any tricks to swapping out my old time capsule with a new airport extreme I am also using airport expresses

    Any tricks to swapping out my old time capsule with a new airport extreme I am also using airport expresses?  The hard drive on the TC quit working.

    I do plan on using an external USB HDD for time machine backups.  I have both 802.11g and 802.11n used for playing music via stereos.
    I would recommend against it. Apple does not support Time Machine backups to AirPort Disks (USB HDD attached to the AirPort Extreme). Although folks have done so, we get a number of them here asking for help with their corrupted backups. If your backups are critical to you, please use another means (like connecting the USB HDD directly to your Mac) to do so.

  • The guide to bootcamp assistant states that bootcamp can only be installed on a drive with a single partition. New Macs with Lion preinstalled have two partitions - the second is a recovery partition.  How do I install Bootcamp?

    Late in August 2011 I took delivery of a new 27" iMac with Lion preinstalled.  I need to run Windows as well. Following Apple's written suggestion, I printed off the then current 12 pages of the document "Bootcamp Installation & Setup Guide" which clearly stated that the hard drive you were going to install on had to have on it, before install, a maximum of one partition.  Using finder and disk utility I determined that there was only one partition.  Unbeknownst to me, there was (is) an additional hidden (from those two pieces of software) partition on the disk.  As of machines delivered new with Lion preinstalled, Apple has begun to include a "recovery partition".  In that partition there is a copy of the software necessary to reinstall Lion via a download from the Apple App Store.  Not knowing the partition was there, I cranked up  "Bootcamp Assistant" which nicely offered to repartition my hard drive creating a "Bootcamp Partition" in addition to the existing.  I told it how big to make each and hit the do it button, subsequently destroying my operating system.  Oh, it very nicely told me, after the damage was done, how many partitions were REALLY on the disk and that I could not install Bootcamp cause there were too many partitions.
    Luckily the the Recovery Partition, which at that point I knew existed, was not harmed and after doing some research on another compter, I used it to once again download Lion from the App Store and reinstall. So, I have recovered but am still stuck with the problem:  how do I install Bootcamp in this new environment?

    First you need to seriously back up your Mac.
    A clone is an exact duplicate of your existing Mac HDD. Merely copying and pasting a drive will not make a bootable backup. In case of problems you can boot from an Ext HDD clone and use the utilities to repair, reformat, or clone the Ext HDD back to the internal Mac HDD.  While Time machine back ups are easy you can not boot from it. The best thing to have for any kind of problem is a bootable clone backup on an external drive. Some even have two external backup drives in case one fails. There are two good apps for cloning named SuperDuper and Carbon Copy Cloner.
    In dealing with the recovery partition a simple approach is to clone the Mac partition to an external disk then re-partition the Mac to a single partition (GUID partition table) . Then clone the external disk clone back to the Mac. You will now have only one Partition and Boot Camp assistant sould not object.
    Some have recommended getting rid of the recovery partition while others have advised not to do this. If you have the Lion USB Thumb Drive you do not need a recovery partition so can discard it without concern. There is another way to get rid of the recovery partition if you decide to do it but first be sure to have a backup of your Mac ( I know I sound like a nagging mom but many dead computers have been saved by this simple precaution).
    Use Disk Utility.
    1) Make the Recovery visible in Disk Utility by using a program like Secrets:http://www.macupdate.com/app/mac/27025/secrets or MacPilot:http://www.koingosw.com/products/macpilot.php (15 day free trial).
    2) Highlite the Recovery partition and Control click it and select Mount the partition.
    3) With the Recovery partition highlited, erase the partition, you'll get an error message, ignore it.
    4) Now highlite the top identity of the hard drive and select the partition tab.
    5) Highlite the Recovery partition and press the minus sign.
    6) Click and hold on the bottom edge of the partition above and drag it to the bottom, if it doesn't go there automatically, the press apply.

  • New to Mac... I have partitioned my hard drive Dual Boot M.Lion/S. Leopard with 2 OS partitions and a Media Partition. How do I direct my file storage to the Media Partition? Can I put a "Media" folder on both OS Desktops that will allow me to drag n drop

    New to Mac... I have Partitioned my MacBookPro with Dual Boot Partitions running M.Lion and S. Leopard and a seperate media partition.
    How do I assign my storage to the MEDIA Partition once I am booted in either OS?
    Can I place a folder on my desktop so I can read/write ALL my media to?

    Why not? Make a folder in your media partition and put an alias folder (shortcut) on the desktop of each partition/ OS. You can right click on the folder in the media partition and click on "make alias".
    If you want to direct your iTunes media to point to the media partition, google "move iTunes library to external disk" and follow the steps; the instructions should be the same for a seperate partition as it is for an external drive.

  • Performance issues with version enable partitioned tables?

    Hi all,
    Are there any known performance issues with version enable partitioned tables?
    I’ve been doing some performance testes with a large version enable partitioned table and it seems that OCB optimiser is choosing very expensive plans during merge operations.
    Tanks in advance,
    Vitor
    Example:
         Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    UPDATE STATEMENT Optimizer Mode=CHOOSE          1          249                    
    UPDATE     SIG.SIG_QUA_IMG_LT                                   
    NESTED LOOPS SEMI          1     266     249                    
    PARTITION RANGE ALL                                   1     9
    TABLE ACCESS FULL     SIG.SIG_QUA_IMG_LT     1     259     2               1     9
    VIEW     SYS.VW_NSO_1     1     7     247                    
    NESTED LOOPS          1     739     247                    
    NESTED LOOPS          1     677     247                    
    NESTED LOOPS          1     412     246                    
    NESTED LOOPS          1     114     244                    
    INDEX RANGE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62     2                    
    INDEX RANGE SCAN     SIG.QIM_PK     1     52     243                    
    TABLE ACCESS BY GLOBAL INDEX ROWID     SIG.SIG_QUA_IMG_LT     1     298     2               ROWID     ROW L
    INDEX RANGE SCAN     SIG.SIG_QUA_IMG_PKI$     1          1                    
    INDEX RANGE SCAN     WMSYS.WM$NEXTVER_TABLE_NV_INDX     1     265     1                    
    INDEX UNIQUE SCAN     WMSYS.MODIFIED_TABLES_PK     1     62                         
    /* Formatted on 2004/04/19 18:57 (Formatter Plus v4.8.0) */                                        
    UPDATE /*+ USE_NL(Z1) ROWID(Z1) */sig.sig_qua_img_lt z1                                        
    SET z1.nextver =                                        
    SYS.ltutil.subsversion                                        
    (z1.nextver,                                        
    SYS.ltutil.getcontainedverinrange (z1.nextver,                                        
    'SIG.SIG_QUA_IMG',                                        
    'NpCyPCX3dkOAHSuBMjGioQ==',                                        
    4574,                                        
    4575                                        
    4574                                        
    WHERE z1.ROWID IN (
    (SELECT /*+ ORDERED USE_NL(T1) USE_NL(T2) USE_NL(J2) USE_NL(J3)
    INDEX(T1 QIM_PK) INDEX(T2 SIG_QUA_IMG_PKI$)
    INDEX(J2 WM$NEXTVER_TABLE_NV_INDX) INDEX(J3 MODIFIED_TABLES_PK) */
    t2.ROWID
    FROM (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j1,
    sig.sig_qua_img_lt t1,
    sig.sig_qua_img_lt t2,
    wmsys.wm$nextver_table j2,
    (SELECT /*+ INDEX(WM$MODIFIED_TABLES MODIFIED_TABLES_PK) */
    UNIQUE VERSION
    FROM wmsys.wm$modified_tables
    WHERE table_name = 'SIG.SIG_QUA_IMG'
    AND workspace = 'NpCyPCX3dkOAHSuBMjGioQ=='
    AND VERSION > 4574
    AND VERSION <= 4575) j3
    WHERE t1.VERSION = j1.VERSION
    AND t1.ima_id = t2.ima_id
    AND t1.qim_inf_esq_x_tile = t2.qim_inf_esq_x_tile
    AND t1.qim_inf_esq_y_tile = t2.qim_inf_esq_y_tile
    AND t2.nextver != '-1'
    AND t2.nextver = j2.next_vers
    AND j2.VERSION = j3.VERSION))

    Hello Vitor,
    There are currently no known issues with version enabled tables that are partitioned. The merge operation may need to access all of the partitions of a table depending on the data that needs to be moved/copied from the child to the parent. This is the reason for the 'Partition Range All' step in the plan that you provided. The majority of the remaining steps are due to the hints that have been added, since this plan has provided the best performance for us in the past for this particular statement. If this is not the case for you, and you feel that another plan would yield better performance, then please let me know and I will take a look at it.
    One suggestion would be to make sure that the table was been recently analyzed so that the optimizer has the most current data about the table.
    Performance issues are very hard to fix without a reproducible test case, so it may be advisable to file a TAR if you continue to have significant performance issues with the mergeWorkspace operation.
    Thank You,
    Ben

  • How to Create a Table with Merge and partitions in HANA

    Hi,
    What is the best way to create a Table with MERGE and PARTITION and UNLOAD PRIORITIES.
    Any body can you please give me some examples.
    Regards,
    Deva

    Ok,
    1) the UNLOAD PRIORITY has nothing to do with the order of data loads in your ETL process
    2) Unloading of columns will happen automatically. Don't specify anything specific for the tables, then SAP HANA will take care about it
    3) Not sure where you get your ideas from, but there is no need to manually "flush" tables or anything like that. SAP HANA will take care of memory housekeeping.
    4) Partitioning and how to specify it for tables has been largely documented. Just read up on it.
    5) Delta Merge will happen automatically, as long as you don't prevent it (e.g. by trying to outsmart the mergedog rules)
    Seriously, I get the impressions that this list of requirements is based on some hear-say and lack of actual information and experience with SAP HANA. There are a couple of extensive discussions on data loading optimization available here in SCN and on SAPHANA.COM. Please read those first.
    All this had been discussed broadly a couple of times.
    - Lars

  • Configuring IPIB with non-default partition key

    Hello
    I want to put IB HCA port into non-default partition to create separate network on my IB fabric. On IB switch (Voltaire ISR9096) I created network with non-default partition key 0x7ffe and add HCA port to this partition.
    But this IB-VPPA was displayed as unconfigured on Solaris host
    ib::3BA0001004181,ffff,ipib    IB-VPPA      connected    configured   ok
    ib::3BA0001004182,fffe,ipib    IB-VPPA      connected    unconfigured unknown
    ib::3BA0001004182,ffff,ipib    IB-VPPA      connected    configured   okConfiguration of new VPPA with cfgadm was unsuccessful:
    # cfgadm -c configure ib::3BA0001004182,fffe,ipib
    Configure the device: /devices/ib:fabric::3BA0001004182,fffe,ipib
    This operation will suspend activity on the IB device
    Continue (yes/no)? yes
    cfgadm: Hardware specific failure: configure operation failed ap_id: /devices/ib:fabric::3BA0001004182,fffe,ipibI unconfigured VPPA with default partition key (0xffff) on HCA port 0x3BA0001004182 and issued cfgadm for VPPA with pkey 0xfffe again - the same effect.
    I tried this on Solaris 10 8/07 and OpenSolaris b72 with the same result - no success ;)
    Is it possible to configure VPPA with non-default pkey on Solaris ?
    Is it possible to configure more than 1 IPIB VPPA on single HCA port ?
    How to perform these configurations ?
    Thanks in advance.
    Regards,
    Denis

    hi
    I was able to setup the listener to serve both databases using netmgr, thanks. Apparently I was trying to use the wrong tool for this previously.
    Now i'm able to access the EM Database Control and it seems to be working fine though i get the following error message
    Logged in As SYS
    Error
    java.lang.Exception: Number of responses does not match queries
    Database Instance: devel.foo.bar
    Now, i'd like to be able to use EM for administering two separate databases (running on the same host). Do i need to migrate the database control somehow to grid control? How do i do that?
    What about security? I'd like to use SSL and limit connections to selected clients only.
    regards,
    aspa

  • ORA-14291: cannot EXCHANGE a composite partition with a non-partitioned ta

    How do I resolve the below issue. I need to create a temp table and then do a exchange partition to the temp table using certain condition . The main table
    edc.edc_log_test has partition and subpartition. I used the below sql to create the temp table. How can I create the temp table with partition so that I do not get the mentioned error.
    edc.edc_log_test has
    PARTITION BY RANGE(CAPTURE_DATE)
    SUBPARTITION BY LIST(TRAN_NBR)
    l_ddl := 'create table ' || p_object_owner_in || '.' ||
    p_part_subpart_name || ' as select * from ' ||
    p_object_owner_in || '.' || p_object_name_in || ' where 1=2';
    l_ddl := ' ALTER TABLE ' || p_object_owner_in || '.' ||
    p_object_name_in || ' EXCHANGE PARTITION ' ||
    p_part_subpart_name || ' WITH TABLE ' ||
    p_object_owner_in || '.' || p_part_subpart_name ||
    ' EXCLUDING INDEXES WITHOUT VALIDATION '; *
    ORA-14291: cannot EXCHANGE a composite partition with a non-partitioned table

    The subpartitioning scheme of the composite partitioned table must be matched by a partitioning scheme on the temporary table.
    In your case you need to list partition your temporary table on TRAN_NBR

Maybe you are looking for

  • Adobe Acrobat 9 Pro BPDX Index Build Problem

    I can successfully use a .BPDX file to rebuild an existing index % Rebuild C:\My PDFs\an_old_index.pdx /rebuild but am unable to use .BPDX to build an index from scratch, ie. % Build C:\My PDFs\a_new_index.pdx /build does not work; Acrobat fires up b

  • How do I show an image in a DataGrid column?

    I'm not sure that this is possible. I would like to show an image in a datagrid column based on the data that the grid is bound to. Is there any way to do this? I'm using Beta 3. Thanks!

  • 2nd or 3rd maximum in Oracle 7

    Hai , How to find second or third or ... maximum ? SQL help please ( Not in Oracle 8i or Oracle 8) Thanks in advance Ramesh

  • Where can I download "iPodHE Updater 2005-11-17" ?

    I need it because the "iPod Updater 2006-01-10" has too many problems with playing videos so I returned to the older update. PC   Windows XP Pro  

  • Problems with Calendar order from iPhoto

    I've tried twice to create a calendar out of iphoto and I've gotten a response via email after several days that there was a problem with the order: Apple discovered an issue with the file you submitted. It appears the calendar has small month names.