Questions around size of the ARC cache - Why does it sometimes drop so low?

I have an old SUN X4500 running solaris 11.1. The box is used as a streaming content server and i`ve noticed some odd behavior with the ARC size recently.
If i run the arc_summary script it frequently reports the size as down around 64MB - 128MB.
ARC Size:
Current Size: 141 MB (arcsize)
Target Size (Adaptive): 64 MB (c)
Min Size (Hard Limit): 64 MB (zfs_arc_min)
Max Size (Hard Limit): 15343 MB (zfs_arc_max)
Kstat somewhat agrees
kstat zfs:0:arcstats:size | grep size | awk '{printf "%2dMB\n",  $2/1024/1024+0.5}'
82MB
What is weird is i`ve also seen the ARC up in the multi-gb range and i`m curious what causes it to drop to such a low watermark.
According to TOP there is a lot of free memory sitting idle, and would probably be better used as ARC:
Memory: 16G phys mem, 11G free mem, 2048M total swap, 2048M free swap
Any thoughtsÉ

These are thoughts and postulations (and guesses) ... some gathered from recent postings.
The zfs_arc_cache will be sized between zfs_arc_min and zfs_arc_max as Solaris sees best fit especially with regards to the needs of other processes.
However if some pages in the cache have not been accessed recently, and he cache is above its target size, then they will be discarded until the cache reaches its target size.
Now as pointed out by http://www.cuddletech.com/blog/pivot/entry.php?id=979 .... the target is adaptive.
Now I suspect the target size will go up if you have just copied a number of large files, or done a full backup ( as will the amount in the zfs cache), however if will probably do down if theses files are not accessed in a while.
In Solaris 10 I dont think the target was implemented and the cache would grow up to 85% of physical ram if left unchecked. And this could cause problems for applications checking the amount of free real/virtual memory before startup; or even if they attempted to grab too much memory too quickly which might cause a crunch shortage and application startup fail.
I think strategy changed with Solaris 11 to attempt to address some of these issues (for all I know it may be backported to a later solaris 10 update).
And if you know things about your system better than the cache optimizer ... and you may because you may be able to extrapolate whereas it is essentially only able to interpolate ... then you may wish to tune zfs_arc_min
Please note this post is not authorative .... consider it more as thoughts and postulations and it may contain errors and misguidance.

Similar Messages

  • The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    Hi there. I'm having the same problem: my iPad won't import some photos from a folder, saying that they can't be read. They are all JPEGS and some photos taken at the same time have synched fine, but out of a folder with 200 photos, it only lets me synch 37. I'm synching albums created via Photoshop Elements 6, which has worked fine until now.
    I've tried deleting all photos and re-synching, and have also deleted the iPod Photo Cache, but it hasn't made a difference.
    The iPad auto-updated to the latest version of iTunes, so maybe that's what's causing it?
    Any advice gratefully received!

  • How to decrease "Free (freelist)" memory and allow the ARC cache to use it?

    Hello,
    I have a solaris express server that will be primarily used for storage. As such cache usage maximization is important. It appears however that a big chunk of the memory is not been consumed, and remains "Free Free". There must be a tunable to allow this memory to be consumed, and grow the Arc Cache.
    Currently it shows (via arc_summary.pl and arcstat.pl) that it's however arround 39GB. It won't grow beyond that point. Here's memstat
    root@storage1:~# mdb -k
    Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp scsi_vhci zfs sata sd ip hook neti arp usba uhci stmf stmf_sbd fctl sockfs md lofs random idm mpt_sas crypto fcp cpc smbsrv nfs fcip sppp nsmb ufs logindmux ptm ipc ]
    ::memstatPage Summary                Pages                MB  %Tot
    Kernel                    2042997              7980   16%
    ZFS File Data             8679483             33904   69%
    Anon                       179051               699    1%
    Exec and libs                4623                18    0%
    Page cache                  19172                74    0%
    Free (cachelist)             6730                26    0%
    Free (freelist)           1646526              6431   13%
    Total                    12578582             49135
    Physical                 12578581             49135
    >

    Hello Abrante,
    These values are their default:
    $ arc_summary.pl
    System Memory:
             Physical RAM:  49135 MB
             Free Memory :  7052 MB
             LotsFree:      767 MB
    ZFS Tunables (/etc/system):
    ARC Size:
             Current Size:             36408 MB (arcsize)
             Target Size (Adaptive):   36408 MB (c)
             Min Size (Hard Limit):    6013 MB (zfs_arc_min)
             Max Size (Hard Limit):    48111 MB (zfs_arc_max)
    ARC Size Breakdown:
             Most Recently Used Cache Size:           6%    2275 MB (p)
             Most Frequently Used Cache Size:        93%    34132 MB (c-p)
    ...But as you can see, The server refuses to "consume" the last 7000 MB.

  • I customize my paper size and print size and am then viewing a photo on my screen. I print it out and it chops off about 5% of all edges of my original photo on the screen. Why does it do that? It is driving me crazy. I use an Epson Photo 2200 printer.

    I customize my paper size and print size and am then viewing a photo on my screen. I print it out and it chops off about 5% of all edges of my original photo on the screen. Why does it do that? It is driving me crazy. I use an Epson Photo 2200 printer

    What print and paper sizes are you using?  Are you trying to print a borderless print?  Does your printer support borderless for that particular size?  Are you printing to the custom stock size or to a larger stock size?
    OT

  • Why does Firefox sometimes put the New Tab "+" button to the left of my open tabs instead of to the right?

    ''dupe of https://support.mozilla.org/en-US/questions/932160''
    [Re-posted with additional details when I thought this post had failed. Please respond to the other post and ignore this one. My apologies for the duplication.]
    In some windows, seems more likely after a crash recovery (but not sure there's a connection), Firefox puts the New Tab "+" button to the left of my tabs instead of the right. This is annoying, because once you're used to clicking it to the right of your open tabs, it's confusing to sometimes find it to the left.
    If I go into Customize mode, it still shows the "+" tab on the right, but as soon as I close Customize, it's really still there on the left edge of the screen.
    Why does this happen and can I stop it? I have seen no reports of this problem posted by others, but it's been happening for me since at least Version 12 and not fixed by version 13.0.1.

    This may be related to session restore.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=774943 bug 774943] - Session restore puts "+" button in the wrong spot and hides first tab
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=714382 bug 714382] - Leftmost tab is hidden when reopening browser window
    <i>([https://bugzilla.mozilla.org/page.cgi?id=etiquette.html please do not comment in bug reports])</i>

  • In the home page why does Firefox say I haven't upgraded when I have. This has been going on for over three weeks, I am now on 9 and still it says I have not upgraded.

    In the home page why does Firefox say I haven't upgraded when I have. So I upgrade again and still it says I haven't next time I log on. Today I upgraded to 9, it said congratulations on upgrading, I log off then log back on only to be told yet again I need to upgrade. What is going on?

    You may see that message below the Google search box on www.google.com/firefox which is the old Firefox default home page. It appears that page is no longer being maintained. You appear to have Firefox 8.0.1 installed which is the latest version.
    '''If you want the Google search page as your home page,''' change your home page to '''''about:home''''' (a new, updated version is now built-in to Firefox).
    *See --> http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    Also see --> https://support.mozilla.com/en-US/kb/Finding+your+Firefox+version<br />
    You can also see your version on the ''Help > Troubleshooting Information'' display
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • In the attached VI why does one loop coerce the data type while the other doesn't?

    In the attached VI why does one loop coerce  the data type while the other doesn't?
    Solved!
    Go to Solution.
    Attachments:
    AAA.vi ‏8 KB

    I'm guessing you created the Enum on the front panel.  If you right-click it and create an indicator, it will match the type, and be an enum.  LabVIEW represents enums as U16, but because the types aren't identical (for example, your enum has 3 values, but a U16 has 65,536 values), LabVIEW automatically coerces (or converts) the smaller (enum) representation into the larger (U16) value.

  • Why does my ipad drop off the Internet frequently?

    Why does my ipad drop ff the Internet frequently? It will be going fine then just won't connect

    Could be interference from something near you like a cordless phone, etc.

  • HT203088 I have the CANON REBEL T5 1200D, and when i connect it to my mac which is 10.10 the new OS X YOSEMITE it says that it "Cannot be used with this version of the operating system" why does it say that?

    I have the CANON REBEL T5 1200D, and when i connect it to my mac which is 10.10 the new OS X YOSEMITE it says that it "Cannot be used with this version of the operating system" why does it say that if my camera is listed under the supported digital cameras for OS X YOSEMITE?

    Put simply, the minimum system requirements for iTunes have changed. You need a Mac running at least OS X 10.6.8.
    It's best you look online to see if your model of Mac can be upgraded to at least 10.6.8 "Snow Leopard". It should still be possible to order a copy of Snow Leopard if so.

  • Using Windows 7 and LR 5  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showi

    Using Windows 7 and LR 5,  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showing pictures that do not match the query

    Dan,
    Here's what's going on in the catalog you sent me, "Joel & Caitlin's Wedding".  There is the keyword "gwenn", which is explicitly assigned to 7 pics. But keyword "schwartz" has a number of synonyms, including "gwenn", and it is assigned to 25 pics.  There is no overlap between the two sets of pics. 
    I discovered these two occurrences by doing Metadata > Export Keywords, opening the exported file in an editor, and then searching for "gwenn".  I found two occurrences of "gwenn":
    gwenn
    schwartz
        {gwenn}
    From this, you can see that the keyword "schwartz" has 9 synonyms, of which "gwenn" is one.
    The filter criterion "Keywords Contain gwenn" will match the 7 pics that are explicitly assigned the keyword "gwenn", and it will also match the 25 pics assigned the keyword "schwartz", because that keyword has a synonym "gwenn".
    This illustrates the behavior I mentioned above: The criterion "Keywords contains x" will match against any of a pic's assigned keywords, any of those keywords' ancestor keywords, and any of the synonyms of the assigned keywords and their ancestors.
    So LR is operating correctly here, if not in a way that's easy to understand. 
    It appears that you are using the synonyms of "schwartz" to represent individual members of the Schwartz family.  A better way of representing family relationships is to have a parent keyword "Schwartz", with subkeywords for each family member, e.g. "Gwenn Schwartz", "Joe Schwartz", "Jane Schwartz", etc.  Repeating the family name in the subkeywords has a couple of advantages. LR usually only displays the "leaf" name of a keyword, so instead of showing you just "Joe", it will show you "Joe Schwartz", helpful when there are a number of different people whose first name is "Joe".  Also, if you ever export your pics to other software, it may not understand the LR hierarchy and won't show the parent keywords, so again it's more informative to see a keyword named "Joe Schwartz" rather than "Joe".

  • After the new update, why does my Bluetooth keep turning itself on? I keep turning it off, but it still finds a way to turn itself back on

    After the new update, why does my Bluetooth keep turning itself on? I keep turning it off, but it still finds a way to turn itself back on

    hi Apfelwurm,
    why do you say it's not normal.
    it always switches itself on after i update. it just did again, this time for 7.1.2.. i t also will switch on after a restore.
    i never use bluetooth and make sure it's not on for any other reason.
    it's been noticed by others too.
    http://www.forbes.com/sites/kashmirhill/2014/03/12/apple-keeps-turning-bluetooth -on-when-you-update-your-iphone/

  • Why does it sometimes take 30 seconds for the dock to come up after bringing the curser to the bottom of the page?

    Why does it sometimes take 30 seconds for the dock to come up after bringing the curser to the bottom of the page?

    Try doing a Dock restart using the following Terminal command:
    killall Dock
    Log out/in and test. If that doesn't work.
    You need to look in your user Library/Applications Support/Dock for the .db. Use the Finder “Go To Folder” command. Enter ~/ Library/Applications Support/Dock.  Move the .db to your desktop.
    Then try a dock reset.
    Applications/Utilities/Terminal enter the command
    killall Dock
    Log out/in test. If it works okay, delete the .db from the desktop.
    If the Dock is the same, return the .db to where you got them from, overwriting the newer ones.
    If you prefer to make your user library permanently visible, use the Terminal command found below.
    Show User Library
    You might want to bookmark the command. I had to use it again after I installed 10.8.4. I have also been informed that if you drag the user library to Finder it will remain visible.

  • Why does my iBookPro drop its WiFi connection so often?

    My question: why does my iBookPro drop it WiFi connection so often, and what can I do to prevent it (or at least extend the duration of active connection)?
    I have an iBookPro running OSX 10.9.5, with a 2.4 GHz Intel Core i5 processor and 8 GB 1600 MHz DDR3 RAM.  I think my iBookPro is about 3 or 4 years old.
    What seems to happen is that I will use my iBookPro accessing mail & websites for a few minutes, and then when I try to send an e-mail, mail puts up a message that it cannot send mail with the selected server, so I need to either try a different server or try later.  Meanwhile I notice that the WiFi signal indicator shows full service, but when I run diagnostics it shows that the internet is not connected.  Opening the WiFi icon in the top menu bar shows that it is looking for Networks.  After an indeterminate time it finds the network I have had highlighted and logged into (my WiFi -5G router) since I opened my iBook when I arrived at my office.
    I often find I have to turn WiFi off, then back on, to get connection with the internet. 
    What's going on, and what am I missing?

    Hello jBookProAm, 
    If you are having issues with your MacBook Pro with maintaining a Wi-Fi connection, then take a look at the articles below to get it sorted out. The first article will talk about using Wireless Diagnostics, which you have already done, but also you look at the additional troubleshooting within the article for assistance. You may want to also create a new location as another troubleshooting option and those steps are in the second article. 
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/en-ca/HT4628
    Using network locations (Mac OS X v10.6 and later)
    http://support.apple.com/en-us/ht5289
    Regards,
    -Norm G. 

  • Why does Premiere CS6 drop frames in capture?

    Why does premiere CS6 drop frames when I capture from my Canon Visia HV40 via Firewire 400
    Bob Lamb     [email protected]

    1st, more computer information might help... such as the Information FAQ http://forums.adobe.com/message/4200840 questions
    2nd, some other software to try... to see if the problem is with your computer, or CS6
    I have NOT used either, but many say to try these for SD capture http://windv.mourek.cz/ or http://www.exsate.com/products/dvcapture/
    http://helpx.adobe.com/premiere-pro/kb/cant-capture-dv-hdv-video.html -and http://forums.adobe.com/message/4708997
    I have NOT used it, but many say to try this for HDV capture http://strony.aster.pl/paviko/hdvsplit.htm

  • Why does drag and drop not work?

    Why does drag and drop not work?

    Do you mean that when you move files on the Desktop, they don't stay where you put them ?.
    If so - use Finder - View menu - Show View options & choose 'Arrange by' : none
    If not - please describe exactly what the problem is.

Maybe you are looking for