[ramdisk] 6400 MB/s

RAM disk & 6400 MB/s
Using disk from RAM.

Today disks and memories can much, but learn some history…

Info-graphic:
Disk and memory interfaces history

First physic disks drives what achieve transfer on level 157 MiB/s appertained just in April of 2010 year.

In 2007 year appeared RAMs, what allows to operate on data with speed from 6400 MiB/s to 12800 MiB/s.

RAM disk

Who of us does not want a disk with the same speed?

Our expectation can meet RAM disk.

In today computers RAM is usually more than 2 GiB so usage 25% or 50% of that memory is nothing impossible, because enabled computer with daily used software uses about to 768 MiB of memory.

What are bonuses of using RAM disk?

  • extreme performance
  • without disk “scrape”

Linux & RAM disk

Users of systems based on Linux kernel have simple task. In every distribution default is directory:

/dev/shm

That directory is nothing other than folder in RAM.

Daily uses it programs like “Pulseaudio”.

For default it dynamically takes up to 50% of RAM if it is needed.

Windows & RAM disk

You only need to install “Dataram RAMDisk” program:
Link – http://memory.dataram.com/products-and-services/software/ramdisk

In program we set size of our RAM disk and file system what we want to use on it.

Program will automatically limit maximum size for our RAM disk on our machine so we does not need to worry about it.

Dataram RAMDisk configuration

Practice & RAM disk

Performance tests:
RAM disk performance tests

For example we can make there cache folder of our Internet browser:

In my tests Opera after that operation is much faster than Chromium (Google Chrome) what uses hard disk for cache.

1. Making folder “opera/cache“:
1.1. Example for Linux:

mkdir /dev/shm/opera
mkdir /dev/shm/opera/cache

1.2. Example for Windows:

In RAM disk we create folder called "opera" and inside it folder called "cache"

2. In address field in Opera we copy it:

opera:config#UserPrefs|CacheDirectory4

And press ENTER.

2.1. And that we write for Linux:

/dev/shm/opera/cache

2.2. For Windows:

X:\opera\cache

(Where “X” is letter of your RAM disk)

3. On the down of the settings section we click “Save”.

READY!

Of course you can do the same thing in other browsers.

You need to remember that content of RAM disk will be erased after restart, because RAM is fleeting memory what disappear after disabling power.

And now you can use super fast RAM disk.

[projects] WordPress SQLite Repack

WordPress Logo Stacked PNG

WordPress SQLite Repack is a preconfigured, ready-to-use WordPress package with SQLite database back-end.

WordPress is using MySQL by default but SQLite database support can be provided via a plugin called ”PDO (SQLite) For WordPress“.

This package is based on a WordPress 2.9.2 release which has been proven to work great with ”PDO (SQLite) For WordPress” plugin.

Why use SQLite database?

SQLite is fast and extremely light. It does not need any additional software than server with PHP support (every server now). MySQL uses dedicated server software binded to specified IP and Port, whereas SQLite uses normal files as database container.

For example: if MySQL server crashes or shutdowns, site will stop working what is impossible in SQLite case, because there is local file without option of “disconnect”.

SQLite is recommended for websites with less than 100 thousands visits per day (course it can work in them without problem, but few thousands disk queries per minute can make server administrator angry – in the end, it is also a human). Huge plus of SQLite usage is extremely portability of websites, because them can be moved between servers using “Copy & Paste” method what is impossible in MySQL case.

Contents of the ”WordPress SQLite Repack”:

WordPress:

Plugins:

wp-config.php:

  • Since there is no needed for the MySQL database configuration, this config is ready to use as is. Further modifications are not required.

Download:

Requirements:

PHP 5.0 or greater
The mod_rewrite Apache module

WordPress Logo PNG

Installation:

1. Copy contents of “wordpress” folder to your server.

2. Set privileges to 777 using chmod for these directories:

  • wp-content/database
  • wp-content/uploads

3. Open your page using your favorite browser.

4. Follow installation instructions visible on the screen.

5. After clicking “Install WordPress” you will see a “strange page” – it’s installation of SQLite database by “PDO (SQLite) For WordPress“. Wait until this page will end loading.

6. Navigate to down of that “strange page”. Copy your password to Administration Panel and click “Log in”.

7. Log in to Administration Panel:

  • Username: “admin”
  • Password: <copied_from_the_strange_page>

8. Navigate to Plugins and Activate “Disable WordPress Core Update” plugin.

9. That is all.

(Optionally) Change your WordPress Administrator password to something that is easy to remember.



[changelog] Updated Pages

I modified default page called “About” with content what say about me – XeonBloomfield.

Also I added “Projects”, “Contact” and “Nickname” pages for better site transparency.

[changelog] XeonBloomfield Website Start

Today I am starting doing my website.

It is my first post here.

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Return top