Книга: Fedora™ Unleashed, 2008 edition
File System Tuning
File System Tuning
Never content to leave things alone, Linux provides several tools to adjust and customize the file system settings. The belief is that hardware manufacturers and distribution creators tend to select conservative settings that will work well all the time, leaving some of the potential of your system leashed — that's why you have chosen Fedora Unleashed, 2008 Edition to help you.
The Linux file system designers have done an excellent job of selecting default values used for file system creation and the 2.6 version of the Linux kernel now contains new code for the IDE subsystem that significantly improves I/O (input/output) transfer speeds over older versions, obviating much of the need for special tweaking of the file system and drive parameters if you use IDE disks. Although these values work well for most users, some server applications of Linux benefit from file system tuning. As always, observe and benchmark your changes.
Synchronizing the File System with sync
Because Linux uses buffers when writing to devices, the write does not occur until the buffer is full, until the kernel tells it to, or if you tell it to by using the sync
command. Traditionally, the command is given twice, as in the following:
# sync ; sync
It is really overkill to do it twice. Still, it can be helpful prior to the unmounting of certain types of media with slow write speeds (such as some USB hard drives or PCMCIA storage media), but only because it delays the user from attempting to remove the media too soon, not because two sync
s are better than one.
- Disabling File Access Time
- Shared Cache file
- Безопасность внешних таблиц. Параметр EXTERNAL FILE DIRECTORY
- Chapter 13. rc.firewall file
- System tools used for debugging
- Integrated Secure Communications System
- 4.3.3. Makefile Targets
- Что это за файл – pagefile.sys?
- Для чего нужны папки Windows, Documents and Settings, Program Files и Temp?
- Когда включаю компьютер, при загрузке пишется Insert system disk and press enter. Что нужно делать?
- Можно ли указать использование по умолчанию вместо C:Program Files другого каталога для установки программ?
- На всех дисках моего компьютера есть папка System Volume Information. Для чего она нужна?