What is a dirty inode and what are dirty bytes ?

What is a Dirtied inode It is a common computer term that data in a cache is “clean” when it has been synchronized, and “dirty” when it is different. A dirty inode has had new data written into it but it has not been written to disk. source : http://serverfault.com/questions/56374/dirtied-inode dirty_inode: this method is called …

The atime and noatime attribute

The atime and noatime attribute Linux records information about when files were created and last modified as well as when it was last accessed. There is a cost associated with recording the last access time. The ext2 file system of Linux has an attribute that allows the super-user to mark individual files such that their …

bubble sort testing… 0.00004 Ver — 1000 No.’s related

$time php bubble.php real 0m0.846s user 0m0.388s sys 0m0.036s $time php bubble.php real 0m0.707s user 0m0.368s sys 0m0.032s $time php bubble.php real 0m0.718s user 0m0.384s sys 0m0.024s $time php bubble.php real 0m0.768s user 0m0.372s sys 0m0.036s $time php bubble.php real 0m0.556s user 0m0.432s sys 0m0.024s $time php bubble.php real 0m0.476s user 0m0.372s sys 0m0.040s $time …

block_dump enables block I/O debugging when set to a nonzero value

When this flag is set, Linux reports all disk read and write operations that take place, and all block dirtyings done to files. This makes it possible to debug why a disk needs to spin up, and to increase battery life even more. The output of block_dump is written to the kernel output, and it …

chattr – change file attributes on a Linux file system

A UNIX Command $lsattr test.ogg ——————- test.ogg $chattr +u test.ogg $lsattr test.ogg -u—————– test.ogg $chattr -u test.ogg $lsattr test.ogg ——————- test.ogg $chattr =u test.ogg $lsattr test.ogg -u—————– test.ogg $chattr +i test.ogg chattr: Operation not permitted while setting flags on test.ogg $sudo chattr +i test.ogg [sudo] password for jeffrin: $lsattr test.ogg -u–i————– test.ogg $rm test.ogg rm: …

bubble sort testing… 0.00003 Ver — 500 No.’s related

$time php bubble.php real 0m0.366s user 0m0.212s sys 0m0.032s $time php bubble.php real 0m0.231s user 0m0.188s sys 0m0.020s $time php bubble.php real 0m0.191s user 0m0.132s sys 0m0.040s $time php bubble.php real 0m0.192s user 0m0.148s sys 0m0.028s $time php bubble.php real 0m0.190s user 0m0.140s sys 0m0.032s $time php bubble.php real 0m0.191s user 0m0.144s sys 0m0.028s $time …

bubble sort testing… 0.00002 Ver — 250 No.'s related

$time php bubble.php real 0m0.318s user 0m0.068s sys 0m0.040s $time php bubble.php real 0m0.171s user 0m0.092s sys 0m0.032s $time php bubble.php real 0m0.169s user 0m0.084s sys 0m0.036s $time php bubble.php real 0m0.153s user 0m0.072s sys 0m0.036s $time php bubble.php real 0m0.154s user 0m0.080s sys 0m0.032s $time php bubble.php real 0m0.145s user 0m0.080s sys 0m0.024s $time …