OpenSUSE Install :: Noatime Isn't Working \ Set Noatime To Save Writes?
Nov 9, 2010
I have an SSD and I'm trying to set noatime to save writes. I didn't do this at the time of install, so I edited /etc/fstab later on. I noticed, however, that when I right-click on a file and view its properties, it still gives me a "modified" and "accessed" time. Did I do something wrong? Here is my fstab:
After searching the boards, I dug through the udev man pages and rule files looking for a way to modify the default automount options for USB flash drives. Apparently, the options are somewhere else. Is there a simple way to add noatime to the default mount options?
Currently, the flash drive is automounted as follows:
I'm using Fedora 12, beta RC 2 in case that makes a difference.
If the filesystem is mounted with noatime option does it influence find -atime behaviour? I tested and it looks that find is able to see access time but why should it if mounted with noatime? Or maybe it depends on the type of filesystem (I`m using XFS)?EDIT: Looks the answer is [URL]htmlIf a file system has been mounted with this option, reading accesses to the file system will no longer result in an update to the atime information associated with the file like we have explained above. The importance of the noatime setting is that it eliminates the need by the system to make writes to the file system for files which are simply being read. Since writes can be somewhat expensive, this can result in measurable performance gains. Note that the write time information to a file will continue to be updated anytime the file is written to.
I was trying to know if relatime or noatime was set on a filesystem, but i didn't found the information, neither in /etc/fstab, neither in kernel boot options.
First of all, it seems clear that i don't have the "normal" behaviour on atime:
I have set up a simple find and delete script for files older than X days. The problem is that some of the files that are send in this share are transfered from an archive server and creation/modified date remains the same when copied and the age of them could be a year ago or older and they get deleted over night by the script.For performance reasons the raid is mounted with noatime in fstab.Do you see any solution to this problem except enabling atime?I'm thinking at some more advanced script that writes the list of added files once a day and marks them for deletion after some time.
I have two ntfs partitions I use to store music and data. I've been using them in all my linux boxes without any problems. Simply use Ntfs-3g with noatime and everything works great.
However, since the update to OpenSuse 11.3 writing to my NTFS partitions takes FOREVER. I've specified noatime, relatime and norelatime successively without success. The partitions have plenty of space and are defragmented.
When copying large files, It starts fast at first, but in the last hundred MB it slows down to about 1.5MB/s. Even after the transfer is supposedly done, the HD led remains on and all other read/write activity involving the partition is completely halted. This can take between 5 minutes to 10 or more depending on the size of the file. When copying several small files, (100 MB or less) it starts at about 1.5MB/s from the beginning.
I have the latest versions of fuse and ntfs-3g installed
I downloaded the latest version of OpenSuse 11.2 Live KDE, I am using VirtualBox to run it, I completed the whole installation. Then, there comes the problem, whatever I do in OpenSuse works, but when I shut down OpenSuse and boot it later, nothing has saved since last time. Example, I tried to create a File.txt on the desktop, then shut down OpenSuse properly. When I boot it again 5 minutes later, the File.txt is not there anymore. I even installed Apache2, and when I came back, i wasn't installed anymore
Installed 11.3 KDE today on an old Vaio desktop we were given (Duron 900Mhz, 512mb, 40Gb HD, SiS630 onboard video, Trinitron 15" monitor). Everything works fine except it will not save the 800x600 resolution setting. Every time I reboot it is back to 1280x1024 which it thinks is the default resolution. Any tweak to get 11.3 to save that setting?
I would like to copy my system into a DVD that I can later use as a bootable disk. Having such a disk could be handy, as it would contain current software upgrades.
during boot-up on my desktop, running openSUSE 11.4 with KDE 4.6.3, there are sometimes (not always) some failed services. Most of the time it is postfix and some other service. Today it is just mcelog. So when I switch to the first terminal by strg+alt+F1, I see that mcelog has failed.The system is running anyway, so I wonder if it is safe to turn them off? I would turn off postfix and mcelog. Do I harm the system with that? Would it boot again, after I have turned them off? Or is it recommended to let them stay as they are?As far as I understood, postfix is just a mailserver, which would be used, if I would run a mailserver on my own. But I donīt. I just read mails, via IMAP... But mcelog? Whats that?
How can I install Mplayer for openSUSE 11.3 x86_64 The 1 click install from packman is not working and the download install is asking for libopencore-amrnb.so.0 but llibopencore-amrnb0(x86-64) = 0.1.2-1.pm.3.1 is installed
I want to install windows XP but every time I do so I need several days to get linux running again. In linux I use lilo (don't remember the version no.), which I am familiarized with.how to fix the linux partition after I install xp
I actually pretty much abandoned Ubuntu a few weeks back after several weeks of not getting a couple things working properly.One of the big problems is I couldn't get my line-in audio jack working to save my life (despite working flawlessly in Windows on the same machine).I have posted about this numerous times and had no luck despite many of you good people attempting to assist.Tonight, I put a live CD of Linux Mint in my machine and noticed a few of the little problems I have with Ubuntu seemed to be "fixed" with Linux Mint.
That's when it hit me that perhaps the big difference is 32 vs. 64 bit? My Ubuntu is 64 bit but the Linux Mint I tested is 32. Does anybody think that my audio problem could be as simple as getting away from Ubuntu 64 bit?Also, can anybody tell me if there is a Terminal Services Client available for Mint? I'm sure there is but it didn't seem to be in the default install..
I have a dell E6400, which I picked up recently 2nd hand. Previous owners had Win 7 evaluation version on it, which had expired. Originally the machine had Vista Business on it and Lic Key intact. I installed Opensuse on without problems whilst waiting for the original Vista disc to make it's way to me - forgot to pick it up with the machine.
I now want to get rid of the expired Win 7 and re-install Vista, but the grub is only giving me the option of Windows, Opensuse, Opensuse Safe and Floppy. My machine only has a cd/dvd drive and when I've selected this the dvd has started, but then it looks like it defaults back to Opensuse which goes so far then freezes. No obvious way for me to reinstall vista. This may of course be a completely daft question to ask, but I've looked at this for an hour or so and can't figure it out...?
Hibernating windows 7 on dual-boot laptop (9.10 Ubuntu - W7) writes something on MBR which breaks GRUB2. GRUB2 does not load at all after hibernating W7 and the best solution is to reinstall GRUB with Ubuntu 9.10 cd, just follow the instructions at [URL]
I'm seeing sustained disk writes of about 2 MB/s in the indicator-multiload indicator in Unity. I determined that it is writes on my 500GB HDD on /dev/sdb. This behaviour started after I used Gparted to create a single 500GB ext4 partition and also selected that it should be formatted to ext4 in Gparted.
Is this usual? It also survived a reboot.. I assume that it is the full formatting taking place in the background?
I saw no activity using pidstat or iotop. Only using vmstat -d revealed the writes.
I'm using 9.10 Desktop 64bit on a Dell Latitude D830. I have 4 gigs of RAM and a 7200 rpm sata hard drive. Everything works pretty well, video, sound, and network. Flash isn't as smooth as in Windows but I assume that's a Flash/64bit thing and not necessarily an Ubuntu thing.
However, one area of performance still lags far behind my Windows XP experience, and that's disk writes. For instance, when I'm copying a large amount of information from a USB drive or from my Windows partition to my native partition, I can barely switch windows until the task is complete, nevermind trying to surf the Web. I thought that that might be related to the slow performance of the ntfs driver, but recently I have been doing a lot of work with VMWare, and I get the same result when trying to pause virtual machines - it writes a largish amount of information to disk in a short amount of time and I can't do much until it finishes.
Here are some things I looked at based on other threads to try to debug my issue:
That disk read speed is a little faster than average - several more tests showed it hovering around the 66 MB/sec range. Of the other info, I see that UDMA is on which I understand is good, but if there is something else there that I should fix I don't see it.
I know that my computer can handle these tasks (at least the vmware stuff) without such a significant interface slowdown because in XP I did it with less RAM than I have now. Is this just the way that the linux kernel scheduler fails to account for UI needs?
I'm not sure if this is an OS issue but openSUSE wont boot with two different ram speeds. I've got two 1gb 667Mhz RAM and tried one of 800Mhz. So the idea was to get 3gb (1gb 667Mhz + 2gb 800Mhz).After GRUB starts nothing happens (at least on screen).By the way I also tried the 800Mhz RAM alone and it worked so it's ok.Why openSUSE (11.3) can't boot with these two different RAM memories?
We are graphing various system parameters using Cacti. One of our graphs shows hard drive reads and writes. A question came up: why do we need this graph?
Is there a way under linux to find out directory with frequent writes and/or deletes?
I'm using Ubuntu and recently bought SSD. I moved /tmp to ramdisk and did some other tweaks to avoid wear. But I was wondering if there's a way to pinpoint hotspots in filesystem where files are often written. For example webserver's log directory with many appends every minute or user's download directory where he downloads gigabytes of stuff only to be moved elsewhere soon after finishing.
I came across inotify which could probably do the trick but it seems it'd require lot of scripting which I'm not very familiar with
Core 2 Quad, Q6600, 2.4GHz OC'd to 3GHz Asus Rampage Formula m/b 2x WD RE2 500GB HDDs ("linux boot" and "winxp boot") 1x Seagate Barracuda HDD ("boneyard") 4GB DDR2-800 RAM Ubuntu 10.04 LTS
I'm having a really annoying problem with disc activity on my desktop system. Basically, if anything is writing a large amount of data to the hard drive (say, 10MB or over), the machine basically freezes solid. The mouse goes jittery (you move it and it takes a second then moves in one big leap).
For instance, if I try to image a USB hard drive to a file:
# dd if=/dev/sdh of=usbdrive_dump bs=1G
Effectively this works in two portions: it reads 1GB of data to RAM, then blats it out into a file. The machine is perfectly responsive while the USB drive is getting thrashed, but locks solid when the internal SATA drives are in use. Writing to USB HDDs doesn't seem to have the same effect -- I can copy 1GB files to/from them all day long and the machine is perfectly happy.