Why we don't need to defrag UNIX FS?


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Why we don't need to defrag UNIX FS?
# 8  
Old 09-06-2010
Quote:
I've seen NTFS fragment terribly when only 50% full.
Me too.
After a cleanup of a full 40 Gb NTFS drive down to 60% full I've had the M$ Windows XP defrag take 30 hours despite having 2 Gb memory fitted. After that the system ran normally.

Similarly a large unix UFS /tmp mounted partition which briefly contained 400,000 files and directories (after a programming accident) ran really slowly afterwards until re-created from scratch.

With large database systems pre-allocating the segments means that you do not have disc fragmentation but that the database engine needs to handle fragmentation.
I've seen databases left to expand dynamically which caused severe slow running due to disc fragmentation even though the database engine reported no fragmentation. A database dump/load to preallocated segments on a properly tuned filesystem cured the problem.
These 2 Users Gave Thanks to methyl For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Change unix permission when I don't own the file

Hi, A file is transferred from a Windows server(say username : user1) to Unix server via ftp. In unix, the permission of the file for a user, say user2 will be "-rw-r-----". Since the user1 is the owner of the file, user2 is not able to change the file permission using chmod. Is there... (5 Replies)
Discussion started by: merin
5 Replies

2. UNIX for Advanced & Expert Users

don't understand the unix script

if {"$my_ext_type" = MAIN]; then cd $v_sc_dir Filex.SH $v_so_dir\/$v_fr_file Can somebody tell me what does this suggest. I am pretty new to unix and I am getting confused. What i understood from here is If we have a file extension name as MAIN which we have then we change the directory to... (1 Reply)
Discussion started by: pochaman
1 Replies

3. Shell Programming and Scripting

don't know how to implentment as unix sh script

for each file if file name like xx* for each line in a file if substring(3,6) found in another txt file output to file-a( filename = orginal file + _a) else output to file-b( filename = orginal file + _a) end Next Line (4 Replies)
Discussion started by: ttivanwan@yahoo
4 Replies

4. Programming

Why I don't have CC1 in my Unix?

gcc works find in my Unix. But when I want to use cc1, system reports: "bash: cc1: command not found". Any clue? Thank you! (2 Replies)
Discussion started by: meili100
2 Replies

5. UNIX for Dummies Questions & Answers

I don't want to go to jail. so I want to start using unix

I use Mac OSX and have been given all of my video editing software... illegally. I don't want to use it anymore and heard that Unix was the way to go. So that is why I am here. What video editing software is out there for Unix. I think I have Unix. Do I? I am sorry and if all anyone can... (0 Replies)
Discussion started by: moz1979
0 Replies

6. UNIX for Dummies Questions & Answers

which unix?? <donīt know where to post>

Iīm struggling to find a system I like and thatīs not to overwhelming.. Iīve been using Ubuntu/Linux and itīs allright except that itīs pretty buggy and boots extremely slow. Iīm in need of a system that offers good programming features, simple or no x server, fast to boot and STABLE. Donīt care... (2 Replies)
Discussion started by: riwaTNT
2 Replies

7. UNIX for Dummies Questions & Answers

I want to cheaply build my own Linux/Unix PC, but don't know where to start

I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start. This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
Discussion started by: Mr. Nice Guy
4 Replies

8. UNIX for Dummies Questions & Answers

defrag

is there a command to degragment or clean the disk drives on an HP SCO Unix maching? (6 Replies)
Discussion started by: rnpeters
6 Replies
Login or Register to Ask a Question