Apr 032013
 

Sata

SATA is the most common bus interface on desktops and on many servers, so it’s important that you know some basic concepts about it, from the always informative Wikipedia:

Serial ATA (SATA) is a computer bus interface that connects host bus adapters to mass storage devices such as hard disk drives and optical drives. Serial ATA replaces the older AT Attachment standard (ATA; later referred to as Parallel ATA or PATA), offering several advantages over the older interface: reduced cable size and cost (seven conductors instead of 40), native hot swapping, faster data transfer through higher signalling rates, and more efficient transfer through an (optional) I/O queuing protocol.

Revisions
Revision 1.0a was released on January 7, 2003. First-generation SATA interfaces, now known as SATA 1.5 Gbit/s, communicate at a rate of 1.5 Gbit/s, and do not support Native Command Queuing (NCQ).

Second generation SATA interfaces run with a native transfer rate of 3.0 Gbit/s, and taking 8b/10b encoding into account, the maximum uncoded transfer rate is 2.4 Gbit/s (300 MB/s). The theoretical burst throughput of SATA 3.0 Gbit/s is double that of SATA revision 1.0.

Serial ATA International Organization presented the draft specification of SATA 6 Gbit/s physical layer in July 2008 and ratified its physical layer specification on August 18, 2008. The full 3.0 standard was released on May 27, 2009. It runs with a native transfer rate of 6.0 Gbit/s, and taking 8b/10b encoding into account, the maximum uncoded transfer rate is 4.8 Gbit/s (600 MB/s).

In short they are usually referred as:

SATA revision 1.0 – 1.5 Gbit/s – 150 MB/s
SATA revision 2.0 – 3 Gbit/s – 300 MB/s
SATA revision 3.0 – 6 Gbit/s – 600 MB/s

So which revision are you using on your computer ?
Continue reading »

flattr this!

Jan 202013
 

alias.shIf you are a Linux system administrator or you just wish to save a copy of your alias on the net, this is the service for you !
alias.sh is a new project that offer a simple service: allows you to manage all of your aliases online and browse the list of cool aliases submitted by others. From the term of your desktop, or server, you can run a single command to copy all your aliases on your system, or back into your profile should you require them.

You’ll have public alias, that everyone can use and that you can share with friends and followers and private alias, for your use only.

Continue reading »

flattr this!

Dec 222012
 

Mass renaming files is no possible with the standard linux command mv, but it’s possible to achieve this goal in many different ways, from some bash magic, to programs that do exactly this, in this article I’ll work with both the terminal and with graphical tools.

Continue reading »

flattr this!

Linux shell: understanding Umask with examples

In a GNU/Linux system every file or folder has some access permissions. There are three types of permissions (what allowed to do with a file of any kind, directory included): (r)read access (w)write access (e)execute access There are also other “special” permissions, but for this article the basic permissions will be enough to illustrate how [...]

Coloring Grep to easier research

In the past I’ve posted an article regarding the basic usage of grep, one of the commands that I use daily at work to search a text within multiple files, or a text string in the list of running process of a Linux server, but I’ve forgot to show you a small and useful option [...]