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
mpartition(1)						      General Commands Manual						     mpartition(1)

Name
       mpartition - partition an MSDOS hard disk

Note of warning
       This  manpage  has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete.  See the
       end of this man page for details.

Description
       The mpartition command is used to create MS-DOS file systems as partitions.  This is intended to be used on non-Linux systems, i.e. systems
       where fdisk and easy access to SCSI devices are not available.  This command only works on drives whose partition variable is set.

       mpartition -p drive
       mpartition -r drive
       mpartition -I [-B bootSector] drive
       mpartition -a drive
       mpartition -d drive
       mpartition -c [-s sectors] [-h heads]
       [-t cylinders] [-v [-T type] [-b
       begin] [-l length] [-f]

       Mpartition supports the following operations:

       p      Prints a command line to recreate the partition for the drive.  Nothing is printed if the partition for the drive is not defined, or
	      an inconsistency has been detected.  If verbose (-v) is also set, prints the current partition table.

       r      Removes the partition described by drive.

       I      Initializes the partition table, and removes all partitions.

       c      Creates the partition described by drive.

       a      "Activates" the partition, i.e. makes it bootable.  Only one partition can be bootable at a time.

       d      "Deactivates" the partition, i.e. makes it unbootable.

       If no operation is given, the current settings are printed.

       For partition creations, the following options are available:

       s sectors
	      The number of sectors per track of the partition (which is also the number of sectors per track for the whole drive).

       h heads
	      The number of heads of the partition (which is also the number of heads for the whole drive).  By default, the geometry  information
	      (number of sectors and heads) is figured out from neighboring partition table entries, or guessed from the size.

       t cylinders
	      The number of cylinders of the partition (not the number of cylinders of the whole drive.

       b begin
	      The  starting offset of the partition, expressed in sectors. If begin is not given, mpartition lets the partition begin at the start
	      of the disk (partition number 1), or immediately after the end of the previous partition.

       l length
	      The size (length) of the partition, expressed in sectors.  If end is not given, mpartition figures out the size from the	number	of
	      sectors,	heads  and  cylinders.	 If these are not given either, it gives the partition the biggest possible size, considering disk
	      size and start of the next partition.

       The following option is available for all operation which modify the partition table:

       f      Usually, before writing back any changes to the partition, mpartition performs certain consistency  checks,  such  as  checking  for
	      overlaps	and  proper alignment of the partitions.  If any of these checks fails, the partition table is not changes.  The -f allows
	      you to override these safeguards.

       The following options are available for all operations:

       v      Together with -p prints the partition table as it is now (no change operation), or as it is after it is modified.

       vv     If the verbosity flag is given twice, mpartition will print out a hexdump of the partition table when reading it from and writing it
	      to the device.

       The following option is available for partition table initialization:

       B bootSector
	      Reads the template master boot record from file bootSector.

See Also
       Mtools' texinfo doc

Viewing the texi doc
       This  manpage  has  been automatically generated from mtools's texinfo documentation. However, this process is only approximative, and some
       items, such as crossreferences, footnotes and indices are lost in this translation process.  Indeed, these items have no appropriate repre-
       sentation  in  the manpage format.  Moreover, not all information has been translated into the manpage version.	Thus I strongly advise you
       to use the original texinfo doc.  See the end of this manpage for instructions how to view the texinfo doc.

       *      To generate a printable copy from the texinfo doc, run the following commands:

		     ./configure; make dvi; dvips mtools.dvi

       *      To generate a html copy,	run:

		     ./configure; make html

       A premade html can be found at `http://www.gnu.org/software/mtools/manual/mtools.html'

       *      To generate an info copy (browsable using emacs' info mode), run:

		     ./configure; make info

       The texinfo doc looks most pretty when printed or as html.  Indeed, in the info version certain examples are difficult to read due  to  the
       quoting conventions used in info.

mtools-4.0.13							      28Feb10							     mpartition(1)
All times are GMT -4. The time now is 05:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy