Sponsored Content
Special Forums Hardware Use of SSD for serving webpages Post 302425613 by Corona688 on Friday 28th of May 2010 03:36:24 PM
Old 05-28-2010
The difference comes down to random versus sequential access. A traditional mechanical drive gets very high transfer rates only when its heads don't move much, like when it's reading one large file beginning to end.

Imagine 100 512-byte files stored in different places on the hard drive, with the drive having to drop everything and reposition its heads to read each one; with seek times of 10ms, that's an entire second spent retrieving 50 kilobytes of data -- an order of magnitude or so slower than it's rated speed.

A solid state disk has no heads to reposition, hence almost no seek time, so blows the pants off mechanical drives for random access. But individual flash memory cells are a bit pokey so a mechanical drive still beats them for raw transfer once its heads are in place. Of course read speeds can be improved in either just by throwing more money at them, more things running parallel in either gets better speed.

Both of these situations assume no cache, of course. Given enough memory the system will just cache everything after its first load to make all seeking and transfer rates irrelevant. And tiny files are, well, tiny, unless you have millions of them.

One thing SSD's are terrible for is frequent writing. Writing to flash is slow and inefficient, and gradually wears them out. Hard drives wear out too of course, but there's a world of difference between "this drive will last a couple years continuous use, no matter what you do to it" and "you could kill this drive in a week if you treat it badly enough". DRAM-based SSD's are free from this of course.

Last edited by Corona688; 05-28-2010 at 04:47 PM..
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Threaded Discussions for Webpages

Dear All, I run a website for a non-profit. Does anyone know where I can get free or cheap software to run threaded discussions for our website? Our website is obviously running off a unix platform. Thanks (4 Replies)
Discussion started by: evertk
4 Replies

2. UNIX for Dummies Questions & Answers

Application Serving

Hi, I'm fairly new to UNIX and am looking at the potential of using UNIX servers as Application Servers (similar to what is done by Citrix Metaframe and Terminal Services in windows) does anyone know whether this is possible or am I firing in the dark? Thanks. (1 Reply)
Discussion started by: tombobs
1 Replies

3. UNIX for Dummies Questions & Answers

Fedora9 5-NIC's Serving I-net to WinXp

Im trying to use a CISCO WiFi-BRIDGE and Fedora9 to connect to an I-net connection down the road. Then use the Fedora box to route the connection to 4-Xp workstations using the remaining 4 NIC's in the box. My paln is to eventually connect my home network/I-net to my work network 1.5miles down... (0 Replies)
Discussion started by: Solomen
0 Replies

4. UNIX for Dummies Questions & Answers

Hosting webpages(jspx) on Linux

Hi guys, I have developed a small website using jspx pages. Now i want to host the website to a server which is a linux machine. The linux machine which i m referring to is already hosting some web pages(jspx) through a web server Which is running at port 8888. My first question would be... (0 Replies)
Discussion started by: pinga123
0 Replies

5. UNIX for Dummies Questions & Answers

Methods of reducing latency with downloading webpages?

I've been wondering how I can reduce latency in downloading webpages. I've been pointed to network sockets (This guide in specific, beej's guide to network programming ) as some method to do so, but I can't figure out how to apply it in the way I need it. I am iterating through webpages like... (0 Replies)
Discussion started by: seagaia
0 Replies

6. Shell Programming and Scripting

Checking for Apache and serving a page

hi i was trying to run the HTML script and was unable to run it as the apache server was not loaded on my linux server.....how do i check whether A[pache has been installed in my server or not.....???? (1 Reply)
Discussion started by: kullu
1 Replies

7. Shell Programming and Scripting

Scripts to Interact with Webpages

Hi, Is it possible to have a script to interact with webpages. I want to create a script that logs a user into a specific site, and is able to get/post information. Would anyone give me instructions on how it's should be done, and where I can find information on starting it out. I know... (2 Replies)
Discussion started by: Pztar
2 Replies
RL(4)							     Kernel Interfaces Manual							     RL(4)

NAME
rl - RL-11/RL01, RL02 moving-head disk SYNOPSIS
/sys/conf/SYSTEM: NRL rl_drives # RL01/02 /etc/dtab: #Name Unit# Addr Vector Br Handler(s) # Comments rl ? 174400 160 5 rlintr # rl-01/02 major device number(s): raw: 16 block: 7 minor device encoding: bits 0007 specify partition of RL drive bits 0070 specify RL drive DESCRIPTION
The block files access the disk via the system's normal buffering mechanism and may be read and written without regard to physical disk records. There is also a `raw' interface which provides for direct transmission between the disk and the user's read or write buffer. A single read or write call results in exactly one I/O operation and therefore raw I/O is considerably more efficient when many words are transmitted. The names of the raw files conventionally begin with an extra `r.' In raw I/O the buffer must begin on a word (even) boundary, and counts should be a multiple of 512 bytes (a disk sector). Likewise seek calls should specify a multiple of 512 bytes. DISK SUPPORT
The RL01 drives are each 10240 blocks long and the RL02 drives are 20480 blocks long. On a RL02 there is room for a full sized root ('a') partition and a reasonable sized swap ('b') partition. The RL01 can only (realisti- cally) have a single 5mb partition. FILES
/dev/rl[0-3][a-h] block files /dev/rrl[0-3][a-h] raw files /dev/MAKEDEV script to create special files /dev/MAKEDEV.local script to localize special files SEE ALSO
hk(4), ra(4), ram(4), rk(4), rp(4), rx(4), si(4), xp(4), dtab(5), autoconfig(8) DIAGNOSTICS
rl%d: hard error sn%d cs=%b da=%b. An unrecoverable error occurred during transfer of the specified sector of the specified disk. The contents of the two error registers are also printed in octal and symbolically with bits decoded. The error was either unrecoverable, or a large number of retry attempts could not recover the error. rl%d: hard error sn%d mp=%b da=%b. An unrecoverable drive error occured during transfer of the specified sector of the specified disk. The contents of the two error registers are also printed in octal and symbolically with bits decoded. The error was either unrecoverable, or a large number of retry attempts could not recover the error. rl%d: write locked. The write protect switch was set on the drive when a write was attempted. The write operation is not recoverable. rl%d: can't get status. A ``get status'' command on the specified drive failed. The error is unrecoverable. BUGS
In raw I/O read and write(2) truncate file offsets to 512-byte block boundaries, and write scribbles on the tail of incomplete blocks. Thus, in programs that are likely to access raw devices, read, write and lseek(2) should always deal in 512-byte multiples. DEC-standard error logging should be supported. A program to analyze the logged error information (even in its present reduced form) is needed. 3rd Berkeley Distribution August 20, 1987 RL(4)
All times are GMT -4. The time now is 03:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy