How low can vm.vfs_cache_pressure get?

I read on the wiki article https://wiki.archlinux.org/index.php/Ma … erformance, about adjusting `vm.vfs_cache_pressure` and I did the test as suggested http://rudd-o.com/en/linux-and-free-sof … o-fix-that
sync
echo 3 > /proc/sys/vm/drop_caches
dd if=/dev/zero of=/tmp/testfile count=1 bs=900M
sysctl -w vm.vfs_cache_pressure=100
find / > /dev/null
cp /tmp/testfile /tmp/testfile2
time find / > /dev/null
sysctl -w vm.vfs_cache_pressure=50
find / > /dev/null
cp /tmp/testfile2 /tmp/testfile3
time find / > /dev/null
rm -f /tmp/testfile /tmp/testfile2 /tmp/testfile3
Then also tried lowering `vm.vfs_cache_pressure` to 20. Seems to run even faster ... slightly ... 0.1s from 50. Was wondering if its safe? I dont really understand how it works fully tho ... specifically ... whats a "inode/dentry cache"?
Last edited by jiewmeng (2012-10-19 11:33:06)

The own site seems to offer the answer to your question,
Please experiment with this value. Values close to 100 provide no gain. Values close to zero can cause huge swap activity during big filesystem scans.
From what I have further read on this it seems that setting it to 0 may lead to out-of-memory conditions.
I presume that, just like in many other things in life, it is for you to decide where the perfect/acceptable balance is trying to avoid that 'huge swap activity' if it harms your computer performance.

Similar Messages

  • I was wondering, once the 1gb free data is applied to the account, can you downgrade your plan?  If so, how low can you drop the data before the promo is affected?

    I was wondering, once the 1gb free data is applied to the account, can you downgrade your plan?  If so, how low can you drop the data before the promo is affected?

    I beleive you have to keep your PAID data of at least 1gb

  • How low can ipad mini battery go before it needs to be charged?

    How low can an ipad mini's battery go before It should be charged? I just received this for Christmas and want to make sure I take care of it properly. Thanks

    Start with this and see of it will start up. Unplug it from the charger before you do this.
    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. See if the iPad starts up.

  • How low can mac mini storage capacity go before it affects performance?

    I have 15 GB left on my hard drive, how low can it go before it affects performance and I welcome any recommendations on how I can best expand storage space.
    Usage: I use my mac for word and excel docs, but I store a number of images and graphic files, but I don't use any designer software.
    Thanks,
    Sq1mac

    Welcome to Apple Discussions!
    There's no one answer to the question of how much free space you really need to keep on your drive before performance and system stability begins to suffer, but with 15Gb left at the present, you will only be reaching that point if you are doing things like burning disk images (because macOS grabs drive space to store the image) or syncing with MobileMe.
    In your situation I'd be careful not to go below 10Gb free.
    Expanding storage space is very easy. Buy an external drive with either USB2.0 or Firewire interface (firewire is better but more expensive) and connect it to your system. If the drive isn't set up for a MAc, it can easily be partitioned and formatted using Disk Utility on the Mac, and you are then ready to use whatever capacity the external has - including moving any or all your files, music, photos etc to the external if you wish or need to. Just about any external, even models which appear to be for PC/Windows use only, will work perfectly well on a Mac - you don't need a 'Mac compatible' drive.

  • How i can do to get my password bac up

    how i can get my back up password

    You can't, if the only place they are is in your backup.  Now, if you were using your phone as recommended, you would be synching your contacts with Address Book, Outlook or with a cloud service like Google, MobileMe or iCloud.
    My guess is, you've not been using your phone as recommended.  In this case, you've lost all your contacts. 

  • Any ideas on how I can reasonably priced get two decent smartphones with one upgrade?

    I have 4 phones, 700 shared minutes and unlimited text.  Already costs 160 bucks.  Would love to make 2 phones data package leave other 2 talk/text; only one upgrade available.  any ideas on how i can make this happen without having to sell my first born?

    are you asking about purchasing the 2 smartphones, or about the monthly plans? because both will be fairly expensive. the new share everything plans would cost you $190 (prior to taxes) per month just to share 1 gig between the 2 smartphones....$210 to share 4 gigs (prior to taxes). you may be able to keep your current plan and add 2 data packages at $30 each. that would be $220/month (based on you stating that you currently pay $160). if you only have one upgrade available, then your best bet would be to call and ask verizon about a certified preowned device (usually about half price of the full retail price) or check out ebay. i believe the cheapest smartphones start at $400 (and they are the very low end smartphones). you can find pretty nice ones on ebay for $200-300.

  • How warm can my macbook get while still being safe?

    I have a macbook pro 13" retina display. I recently tried running Diablo III and it runs fine but it gets very warm, you might even say hot. Normally when just browsing or watching videos, movies, writing documents etc you can't hear the fan at all. However, when I open something like a game you can hear it and it gets extremely warm. Even today it got warm when I was just watching videos on YouTube, not sure what the reason was behind that though. So my question is how warm can I allow my macbook to get without damaging it? Thanks in advance!

    Your MBP will shut down at about 105°c.  I personally do not recommend running the MBP for prolonged periods of time at high temperatures.  Games, Skype, video and such can drive the temperature to 90°c plus.  This is 'normal for such applications.
    You might download Temperature Monitor from the Bresink web site:
    http://www.bresink.com/osx/TemperatureMonitor.html
    If you are planning on running CPU/GPU intensive applications, consider a cooling pad or similar device.
    Ciao.

  • How hot can an ipad get?

    How hot can an iPad Air get? I left it in my car.

    Operating ambient temperature: 32° to 95° F (0° to 35° C)
    Nonoperating temperature: -4° to 113° F (-20° to 45° C)
    Relative humidity: 5% to 95% noncondensing
    Operating altitude: tested up to 10,000 feet (3000 m)
    Basically, just let it cool to room temp for an hour or so and you should be fine. (that's if it got really, really hot)

  • Buffer Size - How low can you go

    I was wondering if you guys can exchange some information about your Buffer Size settings in Logic and how much milage you can get out of it.
    I upgraded to the new 8-core 2.8GHz MacPro a few weeks a go and thought I would live in 32Sample Buffer Size dreamland until the software developers come out with the next CPU hungry beast. But it looks like that a lot of the current Software Instruments bring down the new Intel Macs already to their knees.
    *This is my setup:*
    MacPro 2.8GHz 8-core, 12GB RAM, OSX 10.5.3, Logic 8.02, Fireface 800
    *This is my Problem:*
    If I'm looking at one channel of i.e. Sculpture, then all the 8 cores don't do me any good, because Logic can use only 1 core per channel strip. The additional cores come into place when I'm playing
    multiple tracks and Logic spread the CPU workload across those cores. So if I set the Buffer Size to the minimum of 32 Samples, then it comes down to one 2.8GHz processor and if he is powerful enough to process that one Software instrument without clicks and interruptions.
    Sculpture:
    Some of the patches are already so demanding that I reach the CPU limit when I play chords of four to eight notes with the 32 Sample Setting. If I add some "heavy" FX Plug-ins like amp modeling then I definitely reach the limit.
    _Trilogy and Atmosphere Wrapper:_
    Most of the time I have to increase the buffer size to 128 just to play a few notes. These "workaround wrapper plugins" are a plain joke from Spectrasonics and almost useless. There is plenty of discussion in various forums how they pizzzed off o lot of their customers with the way they handled their Intel transition regarding these two great plugins.
    *Audio Interface Considerations:*
    The different vendors of audio interfaces brag about their low latency of their devices. Especially Apogee's Symphony System was supposed to deliver extremely low latency. When they demoed their hardware at various Apple events, they played gazzillions of track and plug-ins and everything was running at 32 Buffer Size. I never saw however a demo where they loaded a gazzillions Sculpture instruments and showed that playing with 32 Buffer Size.
    *Here are my basic three questions:*
    1) Anybody experiencing already the same limitations with the new MacPros when it comes to intense Software Instruments
    2) Anybody uses the 3.2GHz machines and has better results, or is it just marginal.
    3) Anybody running the Symphony System and can throw any Software Instruments at it with 32 Buffer Size.
    +BTW, the OSX 10.5.3 update fixed the constant popping up of the "System Overload" window, but regarding the CPU load with Software Instruments, I don't see that much of an improvement.+

    My system is happy at 32 samples with the FF800... This is on the Jan 8 Core with 6 gig RAM, running X.5.3, Logic 8.0.2.
    Plugs include - NI Komplete5 bundle, Waves GOLD, BFD2 (thought this would stump it but it's fine with 2.0.4) Access Virus TI Snow.
    Safety IO buffer off and the Buffer set to small.

  • Will someone tell me what happen to my play list and how I can restore or get it back!  Apparently, apple for the second time to screw up and delete all my music again!!!

    Will some explain why apple for the second time manage to screw up and delete "all my play lists and music again"!   How can I restore it or get my music back...  If I can't get my music back the way it was the last time I used itunes I will sale both my ipod touches!!!

    Just what were you doing when it happened?
    Just sync it from your iTunes library.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How  I can to do get a data sources on sun appserver 8  like this?

    jsc GUI develop jsf pages ,I want to get a data sources by Context lookup jndi have binding data sources.
    I know weblogic to get this.
    such as :
    Context ctx = null;
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    p.put( Context.PROVIDER_URL, "t3://localhost:7001" );
    p.put("java.naming.security.principal", user);
    p.put("java.naming.security.credentials", pwd);
    ctx = new InitialContext(p);
    ds = (DataSource)ctx.lookup( "myds" );
    do you tell me sun appserver 8 how to implements this?thx.

    HI
    I am not clear what you are looking for but let me try to give you something. Yes it is possible to get DataSources on apserver 8 by registering JDBC Connection Pool and JDBC DataSource in the admin gui. You can use the regisred datasource in your code like this
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    OR
    if you are looking for the Creator do all these, here is the way.
    Create a datasource in the server navigator to point to any of your database. Drag and drop a table to any of your pages in the application (This is not neccessary if any of your application pages have a rowset/datatable already).
    Deploy the application then the datasource will be registered into application server 8. You can use the same code now to access the datasource
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    Please let me know if you are not looking for above .
    Thanks
    Srinivas

  • How low can you go??

    I'm itchin' to buy a 1.42 -mid range- mac mini so that I can use GB2.
    However the $800 (student)I'd have to spend to get a wireless mini with applecare is a bit steep this close to MacWorld in Jan.
    I've been reading the GB2 system requirements and looking on ebay at G4 towers. It seems like I should be able to put together a system with 1gb ram, a >700mhz chip, tiger and GB2 for around 400, and the only real difference between this and the new mini would be the lack of applecare and the slow chip.
    Am I crazy??
    -Morgan

    I am no expert on the various models, past or present. But I think you want to look for either the Sawtooth or Quicksilver with as fast a processor as you can find. I think the "Yikes" model is the one to avoid. Somewhere on the Apple site or maybe at Other World Computing is a chart showing how to identify the various models.
    With my upgrade, I paid about what a Mini would have cost with the RAM maxed. It wasn't out then, and I am not sure I'd have gone for it, but I don't know. My G4 was a 450 when I got it, and I was able to do stuff with GB, but I soon started to bog it down with effects and midi. The CPU upgrade made a world of difference.

  • How low can you go? Or in fact how low should you gp to favour Windows?

    I too have had a series of complaints by now from my Windows using corporate clients that my DSP4 DVD-R/+R disc do not play on their PC's (of course they run perfectly on any stand-alone DVD-player).
    After some testing with different bit-rates it has become clear to me, that the default bitrates that DSP4 works with, are simply set at too high a level for Windows Media Player.
    Yes, laugh about it, consider yourself very, very lucky to work on the Macintosh platform. But for me it's my bread and butter. DVD's I produce must run on PC's.
    Now what I would simply like to know: what is the best (maximum) bit rate for MPEG2/DVD video that I can use for DVD's to play correctly on a Windows PC?
    And/or does anyone know of any links to the (related) answers to my question?
    G5 2.7   Mac OS X (10.4.5)   FCP Studio

    You're not the only one to make sandwiches out of this stuff! Unfortunately I doubt that there is a definitive answer to the problem. All I can say is that DVD-R is not a replicated disc and certain considerations about bitrate will help with compatibility.
    If the client can play a replicated disc (i.e. from blockbuster) then the bitrate capabilities of WMP is not the issue -replicated discs are frequently encoded at 9MBPS. It is far more likely to be down to the differences in the two types of media. A DVD-R is less reflective than a replicated disc and this has an impact on how well the player can pick up the information from it. Additionally, faster burns on DVD-R have been repeatedly shown to be more susceptible to playback errors. Finally, the choice of media itself is a factor - some just work better than others.
    What you cannot control is the range of different hard/software that the client will be using, and so all you can do is work to minimise the risks.
    Encode at no more than 7.4MBPS for video when working with DVD-R. Use AC3 audio.
    User good quality media - opinions differ as to which is actually the best or most compatible.
    Burn slowly - if you can, use Toast (which gives you more control over the burn speed than DVDSP does).

  • How high can you score get with a single 30 day late that is almost 6 years old?

    Hey Team,       I know it is impossible to predict the exact score without knowing alot of factors. I have 37 accounts on my file.17 are still active (average age is 6 years old. Oldest 1998, Newest less than a month)About 125K of credit available but I am carring about 8K in debt spread out among 6 cards.No BK or COI have one 30 day late that won't "clear" until next year.During the credit crunch (2008-2009), I did have certain companies out right close my account but was never late and paid them.My queries on average are 8 in the last year on all 3 CRA.My DTI is about is about 20% per month.     With all this said, my Fico score barely breaks 720. Does anybody think I can reach 740 or above? Or do I have to wait until next year? Fee  

    Revelate wrote:
    FeeBear wrote:
    Hey Team,       I know it is impossible to predict the exact score without knowing alot of factors. I have 37 accounts on my file.17 are still active (average age is 6 years old. Oldest 1998, Newest less than a month)About 125K of credit available but I am carring about 8K in debt spread out among 6 cards.No BK or COI have one 30 day late that won't "clear" until next year.During the credit crunch (2008-2009), I did have certain companies out right close my account but was never late and paid them.My queries on average are 8 in the last year on all 3 CRA.My DTI is about is about 20% per month.     With all this said, my Fico score barely breaks 720. Does anybody think I can reach 740 or above? Or do I have to wait until next year? Fee  FICO 8?  Yes, probably easily if you pretty up your revolving balances, depending what your installment history looks like and what not and let your inquiries fade: that's a bunch score wise if they weren't mortgage / auto related. My EX FICO 8 is a 739 right now, my AAOA is 2 years (about to tick over 3) and that's with a tax lien, 30/60 late, and a paid collection from 2010.  Also a single scorable inquiry on the report... least for the next few hours .  Thanks Rev gives me hope!

  • All my spreadsheets in numbers and files in pages have disappeared! Does anyone know how I can find them / get them back?

    I had a substantial amount of spreadsheets on my iPad mini and the numbers app as well as a substantial number of pages documents in the pages app. The key word there was had! All my files have disappeared. And on top of that every time I go into preferences to turn on the cloud option it keeps turning itself off. Does anybody know what is going on I would love to have my documents back please help.

    I suppose you have checked the following settings:
    1. Settings>Pages>Use iCloud>On
    2. Settings>iCloud>Documents and Data>On

Maybe you are looking for

  • Oracle java XML API - extract

    I am using XML oracle Java API, I need to extract tge DOC value, its not working for me XMLTYPE xml =" <PurchaseOrder> <Reference>ADAMS-20011127121040988PST</Reference> <DOC>SCOTT</DOC> <Date>2002-03-31</Date> </PurchaseOrder>"; System.out.println("T

  • ItemRenderer fuzzy image

    Is there a specific file format to display the images crystal clear in a data grid when using itemRenderer="mx.controls.Image"

  • I can't partition with burned Windows 7 iso

    Hi all, I am lost: I bought Windows 7 online. Downloaded it and burned the iso file to a DVD. Then I went to the Boot Camp Assistant and downloaded the Windows support stuff. Took ages and worked after 3 trials. Then I selected the size (50GB), inser

  • Common Photo Settings shows 0mm, f/0 for Nikkor PC 28mm f/3.5 with D300

    Somehow the old manual focus "non-CPU" Nikon lens kind will not be shown properly with Lightroom 1.4.1, and I am not sure if this is an older issue. Lightroom seem to recognize that the focal length 28mm and the aperture, but the lens itself appears

  • HT5035 How do I remember the answers to my security questions?

    I have never seen the security questions before....I do not know the answers to them?????