General :: Use "sar" Or Any Other Tools To Measure Cache Hit Ratios?
Jan 27, 2011
According to the manual of "sar" in Unix systems (computerhope.com/unix/usar.htm), it allows to determine the number of accesses to system buffers (lread and lwrite). Thus, we can easily calculate the cache hit ratio of I/Os via the system buffer.
However, "sar" in Linux only measures I/Os to physical devices (as bread and bwrite), instead of those to the system buffer (linux.die.net/man/1/sar)
I need to measure cache hit ratios for I/Os on Linux system buffer, and was wondering if there's a way to use "sar" or any other similar tools to determine such ratios.
Is there some software to measure Internet speed and show where the slowest element is?
I use OpenSuse 11.1 and KDE although Im happy to set up a user using Gnome.
Just recently my browsing speed dropped to almost nothing ...I used [url] to measure my speed and it gave a very slow result 30kb/sec ....usually its around 3000kb/sec. I rang my ISP's helpdesk and they told me my ADSL connection was fine. Two minutes later it was back to normal!
I know the internet speed varies from time to time ...I guess depending on how many are using it and for what. But..I suspect that my ISP was restricting my speed and Im looking for a tool that will tell me which part of the internet is the "slowest"
I would also welcome pointers to information about internet speed and what causes it to change.
I finally clicked on the upgrade to fedora core 11 notice.The upgrade seemed to go absolutely fine, but when I opened up a terminal, the aspect ratio of the text was all wrong. I tried "gnome falling blocks" - it looks awful.I have a 64 bit machine and a acer widescreen monitor. Fedora 10 was fine!
I want to measure the startup time of any GUI app (e.g. firefox) using the time(1) command. However, timing is measured until the app is closed, which has to be done manually by exiting it or clicking X.
How can I get the app to load, terminate immediately and give me the startup time?
I would like to measure the amount of traffic my webcam is sending. What is the best way to do this? I tried iostat command, but i do not see the webcam traffic back.
Is there a way to get a summary of how much bandwidth a given process used on Linux after the process completes? I do not want a monitor, I want something I can look at after the task has completed..
Ideally something like the "time" command or a profiler, but for network usage.
I just wanted to glean some sort of a general average and compare my system with everyones. post your computers:boot time of course hardware specifications (processor, HDD, RAM, etc.) distribution if it's a laptop or desktop (or a netbook ) Mine is 43 seconds, running Ubuntu 9.10 on a netbook. My hardware specs: Intel Atom 1.6 GHz 320 GB 7200 rpm HDD 2 GB RAM
I have one Linux server equipped with WiFi . I want to measure data rate speed on this connection . Is there any utility on my Linux that can measure data speed on one specific Ethernet connection when transferring large size files through WiFi connection?
I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?
Quote:
Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey
I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.
I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.
Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).
I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?
I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
I want to measure the system load on my Ubuntu media center computer. What commands and utilities are available? I've explored the w, top, iostat, and uptime commands. Anything else I could use?
This package contains tools to manage Debian based XEN virtual servers.
Using the scripts you can easily create fully configured Xen guest domains (domU) which can be listed, updated, or copied easily.
Homepage: [url] in the above output I am getting a line Conffiles and then you can see a series of /etc what are that and is it an error or some conflict?
i was looking for a way to stop my menus taking a few seconds to load my icons when i first open them and found a few guides suggesting using the gtk-upate-icon-cache command, but with the any colour you like icon theme i'm using (stored in my home folder .icons directory) i kept getting a "gtk-update-icon-cache: The generated cache was invalid." fault i used the inbuilt facility in the acyl script to copy the icons to the usr/share/icons directory and tried the command again, this time using sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/ACYL_Icon_Theme_0.8.1/ but i still get the same error. i tried with several of the custom icon themes i've installed and only 1 of the first 7 or 8 i tried successfully created the cache.
I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.
when i type arp -n it shows nothingif i type arp -vit showsskipped :0 found :0I want to look at my ip and mac addresses in arp cacheif i change my ethernet ip address it is not reflected or stored in the cache.
Is it possible to use one fast disk as a giant file cache?
I.e. automatically copying frequently accessed data to that one disk, and transparently redirecting reads and writes to that disk, so that other drives would only have be accessed occassionally.
(writes would have to be forwarded to the other disks after a while of course)
Advantages:
The other drives could be powered down most of the time; reducing power, heat, noise speed of the other drives would not matter much. cache disk could be solid state.
How can I set such a system up?
What OS supports these options? Is this possible at all using Windows or Linux?
Example:
There are 3 disks with 1 Tb each. most of the files are only accessed very rarely, but about 5% of each disk is used frequently.
Which files are used frequently may change over time.
A solid state disk with 150GB should cache the currently frequently accessed files, so that access time is faster and the drives can be put into power saving mode.
I use Ubuntu, and Google Chrome mostly. How can I kill these HTTP headers, so that my browser caches this data? I believe it is XHR. Here are the relevant HTTP response headers:Cache-Control:no-cache, no-store, must-revalidate Pragma:no-cache.I also have Firefox, is there a plugin or something I can use to not respect "no-cache"?
I have a desktop and laptop at home, both running the same flavour of Debian Testing. How can I configure apt on the laptop so that it first tries to download the packages from the desktop before going to the Internet?
I'd like to improve my computer's performance by storing files' system location (e.g.: /home/user/speech.odt) and HD position (head, sector, etc) and do the computer use that info from ram memory.I have a directory with several files and when I cd and ls it, it takes a while to the computer answer me. Plus, it would return immidiate find results.
I want to disable processor cache or in other words, want to read write data directly from RAM... Is there any way to make it possible? I am talking about on chip cache memory not any disk cache stuff.
I recently finished installing Squid 3.1.9 and I think I've done installing correctly with its feature of minor configuration changes. It accepted requests on port 3128 and created and the created some numerical or binary (I guess) files in /usr/local/squid/var/logs, My problem is how can I fully verify if the cache is really storing Internet Files? I've read some forums in the Internet replied to me to try the command: cat /usr/local/squid/var/logs/cache.logSo I did tried it and it gives me this output:
2010/11/11 18:04:49| store_swap_size = 0 2010/11/11 18:04:50| storeLateRelease: released 0 objects 2010/11/11 18:05:41| Squid is already running! Process ID 5458