Home > Networking Tips > Network Management > Cache maintenance key to server performance
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK MANAGEMENT

Cache maintenance key to server performance


Barrie Sosinsky
02.19.2003
Rating: -3.29- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Most administrators tend to set up a file system's cache and then forget about it. However, you can squeeze better performance from your server if you optimize your cache from time to time. You should check your cache to see if it still contains the file systems you want. If not, you might want to modify or recreate the cache. In Solaris, for example, there are several commands that let you display cache information, check a cache's consistency, check a file system's integrity, and delete or add file systems to the cache.

Assuming that you are using the /etc/vfstafb file to mount file system, in order to edit the file systems you would edit the entries for those file systems in the vfstab file. When you are using the AutoFS function, you can change file system options for the cache as part of the AutoFS amps. To specify a cache file system in the AutoFS map you need to add a line to the auto_direct map as a superuser.

Several commands are useful in your work of maintaining your file-system cache. The cfsadmin command will display information about the cache and its file systems, as well as allowing you to delete a file system from a particular cache. The cachefsstat command will show you statistical information about a file system, displaying information contained in the cache itself. The cachefspack command lets you specify which files and directories to pack into the cache.

If you suspect you have an integrity problem with your cache, you can check the integrity and perform repairs using the fsck –F cache {-m} {-o noclean} cache_directory command.

Use the cachefswssize to determine if the log file's data suggests that you alter the cache size. You can also use the cachefslog command to view what is being logged to the cache log file, and to suspend logging, if desired. If you suspect that poor log performance is an issue, you can use the cachefslog command to move the log file to a faster disk or one with more available space.


Barrie Sosinsky is president of consulting company Sosinsky and Associates (Medfield MA). He has written extensively on a variety of computer topics. His company specializes in custom software (database and Web related), training and technical documentation.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Network Management
Return-all-values script: Managing Windows networks using scripts, Part 13
Properties of Windows Management Instrumentation: Managing Windows networks using scripts, Part 12
QoE benchmarking: Unique approaches and environments
Quality of experience: Why technical benchmarking is not enough
QoE benchmarks or diagnostics for application performance: What's the difference?
More remote scripting tricks: Managing Windows networks using scripts, Part 11
IP-based services: Curse or blessing for NOC staff?
Virtual machines present dynamic environment issues for network pros
Network architecture and capacity planning for server virtualization
Keeping it green: Design principles for efficient network architectures

Network Performance
Leverage your network with WAN optimization
Will mixing 802.11g and n APs in the same network cause conflicts?
How can I get reliable voice data (VoIP QoS) through ISDN circuits?
What correlation does ping latency have with high server activity?
Measure wireless network performance using testing tool iPerf
QoE benchmarking: Unique approaches and environments
Quality of experience: Why technical benchmarking is not enough
Next-generation enterprise networks: Links to telecom carriers grow stronger
Application acceleration cements concrete co.'s consolidation project
Streaming Olympics video will drain corporate bandwidth

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
baseboard management controller  (SearchNetworking.com)
fault management  (SearchNetworking.com)
loose coupling  (SearchNetworking.com)
maximum segment size  (SearchNetworking.com)
maximum transmission unit  (SearchNetworking.com)
network coding  (SearchNetworking.com)
packet loss  (SearchNetworking.com)
phase-change cooling  (SearchNetworking.com)
round-trip time  (SearchNetworking.com)
throttled data transfer  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts