Why do we minimize windows file cache?

Hi,
Can anybody please explain why do we minimize the windows file cache?
help.sap.com has the below lines..
"The Windows file cache directly competes with SAP programs for physical memory by pushing them out of the memory. Therefore, you should minimize the file cache"
Can anybody explain what does this exactly mean?
Thanks,
Debasis.

Hi Debasis,
when I first read your question I thought:
"This must be a joke-question! Surely nobody who has to deal with highly complex system landscapes like the ones NetWeaver makes necessary would have a real issue with understanding this basic concept!"
But on the other hand, we all started working in this business with more or less sound knowledge about the technical foundations that influence the systems we work with.
So, here is my try on this:
Main memory (in most computers today also known as RAM) is a resource to store data shared among all programs that run on that computer at the same time.
The SAP NetWeaver workprocesses (disp+work.exe) are such programs. And the Windows filesystem management is also a kind of program in that sense.
Both of these two programs need RAM to do their work. The more memory they get, the better they can do their work.
If you decide to install NetWeaver to a computer the documentation developers assumed, that this will be the main use for this computer. For example, they did not expect that you use the same computer as a file- or print server or webserver or server for anything else (although this would be possible).
Therefore it was decided that, to make the NetWeaver program work best, it would be best to give it as much resources (like RAM) as possible. Obviously this means that these resources have to be taken from other programs, just like the filesystem cache of Windows.
And there we are: by reducing the file cache of the Windows server we allow other programs (like our NetWeaver) to use more RAM for it's own purposes.
Usually there are not so much 'file actions' on a server where NetWeaver is running that this is a problem. Most of the data processed in a workprocess is read over the network from the database and stored back to it, so no need to keep a big cache for 'file actions'.
If your question just refered to the "pushing out of the memory" part, no problem either!
As you may have realized by know the demand for RAM is large. In fact its so large, that most often it is too expensive to buy as much RAM for a computer as it would be needed to fullfill all the demand.
Fortunately, not all data stored into the RAM is needed all the time. Actually, most parts of it are not used for most of the time. This characteristic of the demand for RAM opens the opportunity to save parts of the data in the RAM into a file (no, you won't need the filesystem cache for this file ) and thereby make space for other data to be stored in RAM.
This functionality is also called 'paging' as the data is written to disks in chunks which are called 'pages'.
Ok, with this faboulous feature we got the option to put more data into the RAM than we actually have installed into our computer, which is really great.
Unfortunately when we want to access our data again, it has to be loaded back from disk into memory. And for that some other part of the data in RAM needs to be saved to disk first to make space for the data we want to access.
This 'writing out - reading in' of data takes time. Programs like the workprocesses need to wait until the operating system has done this for them. Until this is done, they can basically do nothing than wait - and so can the users that see a 'hourglass' mousepointer when they called a new transactiom.
So 'paging' is really bad for the system performance and for the response times of the system.
Therefore it is usally wanted to keep this paging down on a level where it does not affect the workprocesses too badly.
And this can only be done by either putting more RAM into the machine or reducing the demand for RAM - which is done e.g. by minimizing the filesystem cache.
I hope this lengthly explanation helped you to get the idea.
Best regards,
Lars

Similar Messages

  • How to Move Offline Files Cache in Windows 7?

    I'm using the offline files feature in Win7 (much better implementation, btw - kudos!) and I've run into a problem:  the CSC is using up all the drive space on C:\.  I'd like to move the CSC to D:\, however I've been unable to do so.
    I've seen this posted here previously (2/2009), however the response was to follow the instructions from Vista (using migwiz.exe).  When I launch migwiz.exe, I have no option of selecting the offline files as outlined in the Vista instructions (http://blogs.technet.com/filecab/archive/2006/12/12/moving-the-offline-files-cache-in-windows-vista.aspx).
    Are there any other ways of doing this?
    Thanks!

    Hi everyone,
    I have found a way to move the offline cache in W7, but it means you have to reset your existing offline files, give the new location, and resync the folders in the new location.
    Here is what to do (if you haven't synchronised any offline files yet, for exemple after a clean install, you can start directly in step 3):
    0) Make sure your existing offline files are synchronised with the server, as you are going to lose ALL the offline copies and you don't want to lose any new/modified files. Make a backup if you're not sure and if the files are important.
    1) reset the content of the old cache by adding the following command in a batch file and running it (of course you can add the parameter in the registry manually, but it's quite handy to have the batch ready whenever you need to reset the cache):
    REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f
    2) Reboot, the added key will be detected, all the content of the cache will be deleted, as well as the key itself (it only resets once)
    3) Add the following registry key in the same HKLM\System\CurrentControlSet\Services\CSC\Parameters section of the registry:
    Type: REG SZ (string)
    Name: CacheLocation
    Value: the new location in NT format, ie \??\d:\csc if you want to create the new cache in d:\csc
    4) Create the folder in the new location
    5) Reboot (not sure if it's necessary, but better safe than sorry)
    6) Reselect the files/folders you want to sync offline, and they should sync in the new location.
    7) If you want to, you can delete the old cache location in c:\windows\csc by following the end of the vista procedure linked in the first post (using takeown etc)
    It worked for me (Win7 RTM x86), let us know if it works for you...
    Obviously it won't help if you don't want to / can't resynchronise, but if you're starting from scratch or don't mind resyncing from scratch, it's a good workaround.
    EDIT: if you sync a lot of files and get a lot of errors, try to reset your offline files again following the above procedure (steps 1-2), disable offline files, reboot, enable offline files, reboot, and resync your files. Again, it worked for me...

  • Why does the document window in illustrator cs6 move to the far left when I reopen the file?

    why does the document window in illustrator cs6 move to the far left when I reopen the file?

    Hi John,
    thanks for the fast response.  cs5 remembered the window position.  I like having the window in the middle as I have a 27" monitor.  I just upgraded to cs6 yesterday and I'm sure it was remembering the window document position.  I think.  If i find out how to fix this, I'll post it here.
    And while I'm on the subject of cs6, why the f*** did adobe combine the stroke and swatches pallettes?  Now I forever have to click stroke and swatch tabs all day.  And I love the army and navy file icons of photoshop and illustrator.  I won't comment on Acrobat X.  ; (

  • Windows 8.1 Client Side Caching - Is it possible to specify the location of the offline file cache?

    Hi,
    Is there any approved way to change the location of the offline files cache in Windows 8.1?  I'm asking before moving client systems from Windows 7 where a registry change was required - is this still the way to go?
    I believe that if the default user-profile directory is moved, this causes problems for updates to Windows 8/8.1 now, is the same true if you move CSC?
    Just a bit of background.  The systems I want to do this for have smallish SSD boot drives with a higher capacity spinning disk.  The machines are members of a domain with Folder Redirection setup.  I could setup group policies to disable
    caching of some of the larger directories or even disable CSC entirely on the machines which have an SSD boot drive, but would prefer not to do so.
    Thanks in advance.

    Hi,
    According to your descryption, In windows 7, the tool is migwiz.exe, namely the Windows Easy Transfer, you can modify the registry in the way listed in the post below:
    http://social.technet.microsoft.com/Forums/en-US/bbf5890c-b3d7-4b38-83d8-d9a5e025fb2b/how-to-move-clientside-caching-to-a-new-location?forum=w7itproinstall
    In Windows 8, Windows easy transfer is also a built in tool to migrate user profiles and user settings, but as for the offline transfer, I suggest to use the USMT for your situation.
    Because with USMT you can specify the folder that you want to migrate the files to, by using an offline.xml you can set the path just as the sample listed below:
    <offline>
         <winDir>
              <path>C:\Windows</path>
              <path>D:\Windows</path>
              <path>E:\</path>
         </winDir>
         <failOnMultipleWinDir>1</failOnMultipleWinDir>
    </offline>
    You can also refer t othe details at:
    http://technet.microsoft.com/en-us/library/hh824880.aspx
    Regards
    Wade Liu
    TechNet Community Support

  • Why did I have to enable Windows File Sharing to share files between two Mavericks iMacs?

    File Sharing failed between my Mavericks iMacs.  The console logs showed that the target iMac saw the ntlmv2 protocol as unknown to the kdc.  I fixed it by enabling Windows File Sharing on the target Mavericks iMac.  I had tried disabling SMB on both iMacs and leaving AFP on, but then nothing happened when I tried to connect.  Why did I have to enable Windows File Sharing to share files between two Mavericks iMacs?

    When you enable file sharing you need to have either SMB (Windows) or AFP (historically Apple-native) file sharing checked. The default in Mavericks is SMB, and not AFP.
    If you uncheck both, then the system will turn off file sharing. Apple supports the use of both SMB and AFP connections in Mavericks, so with only AFP enabled you should have been able to establish a connection, but there could be a small bug or configuration-specific snafu that you're encountering.
    With AFP enabled only, try pressing Command-K in the Finder to open the Connect To Server dialogue, and in here enter the address to the system using afp:// as the protocol, such as the following (the name can be looked up in the Sharing system preferences):
    afp://my_imac.local

  • Why does Acrobat Pdf converter file slow down my 2003, Windows  Word Program.  I only experience this problem when i convert a pdf file to a doc file.

    Why does Acrobat Pdf converter file slow down my 2003, Windows  Word Program.  I only experience this problem when i convert a pdf file to a doc file.

    Hi Bill -- thanks for your reply!
    When I check the Document Properties on Acrobat I can see that the fonts used in the document (Cambria, Times and Windings) are listed as "Embedded Subset" in the Fonts panel. The machine it was created on did use an earlier version of OS X and an old version of Word, but it seems to have the proper fonts...
    -nick

  • Why does my MBP have such a huge Memory File Cache?

    My avaiable RAM keeps getting very low (<25 MB) and the Memeory File Cache is huge (5-6 GB). I have to run the Memory Cleaner several times just to get avaiable RAM back to 4-6 GB!

    Normal in Mavericks. Delete "Memory Cleaner," which is worthless.

  • Why So Much RAM Going to "File Cache"

    Hi,
    I seemed to be maxing out my RAM in my 5,1 Mac Pro when I had Adobe Lightroom, PhotoShop, and DxO's OpticsPro 10 open, which are the 3 apps I use in tandem quite a bit. So, I bought 8 GB's more RAM (not a great deal but as much as I can afford at the moment), popped it in on Saturday, and was happy to see that I seemed to have plenty of RAM when the 3 apps were open. By the end of yesterday, however, almost all of my RAM was being chewed up. I opened Activity Monitor this morning and saw that almost 12 GB is being used up by "File Cache". Is this normal? Right now - after installing the 8GB's and after 1.5 days almost being back to where I was before I bought the additional memory, it feels like I'm in a Memory Black Hole. Any insight?
    Thanks,
    Robert

    Yes. OS X uses the file cache to store frequently used code and files in order to make the computer run a little bit faster instead of spending a lot of time loading and unloading data from disk. It improves memory management. It's a good thing.
    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    OS X Mavericks- About Activity Monitor
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Bridge(CS3) conflict with Windows file explorer

    Bridge will crash on me at least twice a day. I use Bridge and Windows file explorer simultaneously copying and moving files across a network. When Bridge quits I sometimes lose my network connection and have a lot of trouble re-connecting.
    I have done the usual delete preference, trash cache etc., nothing seems to be working.

    Not sure what is going on there, but have a suggestion. You are increasing your odds of Bridge crashing, and trashing the cache, if you move too fast. When in Bridge wait for the spinning arrow in lower left corner to stop (it is building the thumbs) before changing folders.
    Don't see any correlation between network connection and Bridge crashing. Perhaps if you have a slow computer you are overloading it with tasks and it can not keep up. Minimize programs running at same time.
    Also, run task manager and see what the processor is doing. If CPU useage goes up markedly that will confirm the problem.

  • Can't Close/Minimize Windows

    Frequently (but not always) I can't close or minimize windows. If I drag the window slightly (in any direction), suddenly the close/minimize buttons become responsive. The problem happens in all Apps. Any thoughts on what this could be? (Running Mavericks 10.9.3 on a MacBook Air 13'')

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Firefox version 33.0.0.5397 appears in windows/erdnt/cache how do I remove it

    The first scan I ran with Secunia PSI 2 flagged up an old version of Firefox 33.0.0.5397 as out of date and no longer supported and recommended updating or uninstalling. I was unaware I had any old versions of Firefox installed as I am using the latest version 36.0.4 which actually appears further down the list of programmes on the PSI scan. This old version's location is also a bit strange, it appears in a cache within a folder called erdnt in windows. The file path is .... windows\erdnt\cache\firefox.exe. I have looked online for info about this erdnt folder and it seems to be part of a backup programme called ERUNT which I do not seem to have. Very strange. The current version of Firefox 36.0.4 is located in the program files where I would expect to find it.
    Can anyone shed some light on this and explain why there appears to be an old version of Firefox in this odd location and if it is OK to remove it and how I go about doing so. Do I just delete or do I need to uninstall it ? What affect any action might have on the current version of Firefox that I am using ?

    That is NOT a Firefox version I ever heard of, and the Firefox programs
    are stored in the computers Programs Folder.
    Open the folder you posted, and rename that file to fffffffffff.exe.
    Use most or all of the listed scanners.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
    * [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one. Windows 8 has antivirus [http://www.microsoft.com/security/pc-security/windows8.aspx#antivirus built-in] already.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Bug? Folders created by transmission is read-only to Windows file sharing

    It's a nice thing that transmission is supported in the LenovoEMC version of firmware. The thing is, folders created by this transmission are read-only, which means file can't be added, deleted nor modified from Windows file sharing (They are still be deleted with transmission though, but that's irrelavant).
    From my experience, this issue is caused by the value of unmask not properly set up in the settings.json file. This file can be modified when transmission is not running, but I didn't find a way to stop transmission from running / restart itself even after being killed from SSH.
    Please help.

    You have to have root access (which will void your warranty) to modify settings.json, that's why I wish Lenovo can come up with an official solution.
    If you don't mind viod the warranty, then after you stop transmission, you can log in as root via putty, then use nano to modify settings.json as mentioned below:
    http://forum.nas-central.org/viewtopic.php?f=279&t=7877&sid=30b572be20744201c78d224e3db49c97&start=1...

  • When installing Windows 7 using Bootcamp, expanding windows files gets stuck at 65%?

    I was installing Windows 7 Home Premium 64 bit on my Macboom Pro Retina with Bootcamp, and when it reached the "expanding windows files" stage, it got stuck at 0%. I waited a few minutes, and the percentage began to increase until it got to 65%, at which it stopped again. I left it for a while, but after coming back nearly an hour later, it was still stuck at 65%, so I canceled the installation by clicking the close button of the installation window. It froze after that. I could move my cursor, but I couldn't click anything. I got impatient and held down the power button to shut it down manually. When I restarted the Mac, it played the normal startup sound then went to a black screen with a blinking dash symbol in the upper left corner. It's now stuck on this screen. I'm scared I might have really screwed up my computer. What do I do?

    Edit: Fixed it by just holding down the option key when it restarted. Don't know why I didn't think of that before. I also removed the partial Windows download and the whole Windows disc partition using Bootcamp.
    I think the reason why it didn't work is because I used an OEM version of Windows 7, which is to say I bought the licence key off of some website for $35 and they emailed me with the key and an .iso of Windows 7. I read somewhere that using OEMs with Bootcamp is not recommended. But that leads me to another problem - I really do want Windows on my Mac since I have some programs that would only run on Windows and I bought PhotoShop Elements 12 for the Windows platform and to switch platforms I would need to upgrade to 13, which costs almost as much as buying the original. And I don't want to go buy a proper Windows installation disc, that would mean wasting the $35 I already spent.
    So is there any way I can actually install Windows safely with my OEM version of it?

  • I want to transfer my Windows files from my Clickfree external drive to my new iMac. iMac recognizes the drive but won't read the files. What should I do? My PC hard drive is dead so I can't hook up my iMac to that.

        I'm switching from Windows to iOS. But my new iMac won't allow me to transfer my Windows files on my Clickfree HD425 over to the iMac. It initialy didn't even recognize my hard drive during set up, so I manually went through Finder where it recognized the Clickfree drive. But my files wouldn't appear. I can't go back to my original Windows computer because the hard drive crashed, and that's why I bought this new iMac in the first place. What should I do? As a Mac newbie who was reluctant to exit the Windows world, I don't want my original babystep into the iOS world soured by my first experience.

    Hi Rick, & a warm welcome!
    In Disk Utility on the Mac, what Format does it say the drive is?

  • Installed Photoshop cc 2014 asks for serial # - corrupted Windows file permissions

    More of a warning / heads up to all than a question - installing Photoshop cc 2014 [via the CC manager app] caused some Windows file (security) permissions to become corrupt corrupt on my system. Symptoms include cc2014 asking for serial number validation on startup (when, as a cloud version, it should not do so), then being unable to connect to the internet when you press the 'validate serial' button so getting that window into infinite loops, and - a real pain in the *** when trying to fix the above - causing abends of some windows shell functions that in turn cause windows explorer to crash and restart.
    Anyhow, digging into this (fortunately, I am a long time Windows SysProg) I discovered that for reasons unknown, either the CC master app or the actual Photoshop cc2014 installer (or both) are changing file access control permissions on a number of files, mostly DLL's. Most of the files affected are in the (normally hidden) Program Data directory on the windows root disk, Some of them are in the Adobe subdirectory - so fair enough if they want to fool around with their own program - but others being changed are in the Common Files and Microsoft subdirectories. I cannot for the life of me figure out why this is necessary nor why Adobe feel the need to touch files that 'do not belong' to them - something dangerous in the extreme as an external app such as Windows Update might replace or 'repair' the files so touched, and if Adobe / CC are relying on file permissions on non-Adobe files, such changes could result in all manner of random and spurious problems / error messages occurring.
    Anyhow, if, fellow Photoshop cc 2014 user, you get this happen to you then you can fix the file permissions by opening a console window [also called a "DOS box", or "command prompt" depending on your age and knowledge... 8-) ] and run the windows file checker with the command
    "sfc /scannow". Make sure that you use 'run as administrator' to open the console window, or you'll get an error about sfc only being available to administrators. Also a very (very) sensible idea to close all non-essential running applications first to prevent any possibility of weird interactions happening.
    Finally, check that the 'hosts' file in [root drive]:/Windows/System32/drivers/etc is valid - for some reason, it looks like the install tried to check or update this file (again, I have no idea why) but the result was a corrupted hosts file, which I assume is the root cause of the 'unable to connect to host' type internet error messages. Copy the file, rename it as 'hosts.txt' and edit it with notepad or wordpad. Look for lines containing garbage strings at the bottom of the file  (any line that starts with a # ignore, it is a comment, and any line that has IP addresses or host names should be ignored - though if they reference a site such as "someserver.adobe.com" you might want to treat them with suspicion if you continue to get internet 'cant connect to site' type errors.
    Anyhow, when I fixed these two sets of problems, Photoshop cc 2014 started 'right first time' without all the BS messages about serial numbers etc.
    Hope this helps somebody out there in AdobeLand......
    Rick

    Update: I tried several times to reproduce the error, actually it dosen't occur. I changed nothing on my system, without reboot it twice. This is what I said in my beginning times: it occurs sometimes but often. I will keep you up to date.

Maybe you are looking for

  • Ipod not showing up in Windows/Itunes

    when i connect my ipod nothing shows up in my computer. I get an autoplay message that says, "what do you want windows to do.." but there is nothing in the list. And when I hit okay, the ipod doesnt show up in itunes. Once in a blue moon it does show

  • Itz possible to call one report program into another program

    hi guys,             i had a doubt that can i call a report program into another report program by declaring their name into the second program like as we calling Includes ,function modules and like class and their methods . if  anybody done this or

  • Send mail icon

    How can I put a send mail icon in the Apple mail tool bar. I see how to put so many things but not a Send or Send mail Icon. I only see the option in the drop down menu. Thanks in advance

  • DW CS3 - FTP - Will get but not put

    DW CS3 Intel Mac Pro OS X 10.4.10 I have no trouble accessing my server with FireFTP and all the subdirectories. DW will get all files in host directory and sub directories but will only put to host directory. Help

  • Flash not working

    I have been checking out some youtube videos, with no problems and they use flash, or java. However, I tried to open this one video and it said that I needed to update my flash player. So I did, but could not open up this particular video I was wanti