Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Up
vote
Down

I've been working on an space-based MMORPG for a while now and I finally reached a point where the server was largely complete and ready for some load testing. I had done quite a bit of testing on my quad-core Xeon development system with great results. Renting a dedicated box like that one, and with a decent Internet connection would not be cheap, however.

I was curious about Digital Ocean's offerings so I decided to take a couple of their smallest virtual machines for a test run. These 5 dollar/month cloud servers have 512MB of memory, a single virtual CPU, and 20 gigabytes of SSD disk storage. I created the first one, Maelstrom, in one of their New York data centers and the second one, Paradise, in their San Fransico facility. As claimed, each server took just under 60 seconds to deploy.

I made a few customizations to the bare-bones CentOS 6.5 64-bit image that I had selected for both machines. I then ran my personal benchmark package on both. On my 256 megabyte benchmark that emulates a relational database instance, I got about 25% of the performance of one of my Ivy Bridge Xeon cores. This benchmark stresses memory bandwidth, takes advantage of the full range of caches, as well as loading the CPU with integer-only operations.

I consider a fourth of an Ivy Bridge core an excellent result for a $5(US) server! I repeated the tests over the following days and got consistent results varying within a 10 percent range. One thing of note; the SF server consistently performed about 10% faster than the NY server.

Next, I loaded up a million-sector instance of my MMORPG server engine on the NY server and a bundle of testing scripts on the SF machine. The test suite, which emulates 712 concurrent players requires 1424 processes to do that. In retrospect, it wasn't too surprising that I crashed the SF machine as the testing scripts created an urgent demand for far more than 512 MB of memory! My mistake. I suspected that I wasn't going to be able to fully stress the game engine with far fewer emulated players.

But, always the optimist, I set up a gigabyte of swap space on Paradise and tried again. This time the tests ran just fine -- and the SSD-based swap space performed beautifully.

I got an average of 2500 game transactions per second over the duration of the test -- which should be more than enough for my target of 1000 concurrent players per realm. The SF machine used one half of the GB(!) of swap space while running the test scripts and hummed along happily at about 75% busy.

The NY server was fully stressed at about 98% CPU utilization and remained very responsive for the duration of the test.

I'm still running both systems three weeks later and have experienced no reboots or outages so far.

The New York server continues to run my text-based space MMORPG server back-end for game-play testing as the graphical front-end client is developed.
mail this link | permapage | score:9987 | -Ray, May 13, 2014

USB Redirection hack on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

Up
vote
Down

I clearly understand that only incomplete Havana RDO setup allows me to activate spice USB redirection communicating with cloud instances. There is no dashboard ( Administrative Web Console ) on Cluster. All information regarding nova instances status, neutron subnets,routers,ports is supposed to be obtained via CLI as well as managing instances, subnets,routers,ports and rules is also supposed to be done via CLI, having carefully watch sourcing “keystonerc_user” file to manage in environment of particular user of particular tenant. read more...
mail this link | permapage | score:9987 | -Boris Derzhavets, April 28, 2014

Step By Step Ubuntu 13.04 (Raring Ringtail) LAMP Server Setup

Up
vote
Down

In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache, MySQL
and PHP) server up and ready to go. This feature, exclusive to Ubuntu Server Edition, is available at the time of
installation.The LAMP option means you don’t have to install and integrate each of the four separate LAMP components, a process which can take hours and requires someone who is skilled in the installation and configuration of the individual applications. Instead, you get increased security, reduced time-to-install, and reduced risk of misconfiguration, all of which results in a lower cost of ownership.Currently this installation provide PostgreSQL database, Mail Server, Open SSH Server,Samba File Server, Print Server, Tomcat Java Server,Virtual Machine Host,Manual Package selection,LAMP and DNS options for pre-configured installations, easing the deployment of common server configurations. read more...
mail this link | permapage | score:9987 | -gg234, April 28, 2014

Gluster 3.4.2 on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

Up
vote
Down

This post is an update for "Setting up Two Physical-Node OpenStack RDO Havana + Neutron GRE + Gluster backend for Cinder" on Fedora 20 boxes with both Controller and Compute nodes each one having one Ethernet adapter. It’s focused on Gluster 3.4.2 implementation including tuning /etc/sysconfig/iptables files on Controller and Compute Nodes.
Copying ssh-key from master node to compute, step by step verification of gluster volume replica 2 functionality and switching RDO Havana cinder services to work with gluster volume created to store instances bootable cinders volumes for performance improvement. Of course creating gluster bricks under “/” is not recommended . It should be a separate mount point for “xfs” filesystem to store gluster bricks on each node. read more...
mail this link | permapage | score:9981 | -Boris Derzhavets, May 13, 2014

Installing Debian testing On GPT HDDs From A Grml Live Linux

Up
vote
Down

This tutorial explains how to install Debian testing with the help of debootstrap from a Grml Live Linux system. This should work - with minor changes - for other Debian and Ubuntu versions as well. By following this guide, it is possible to configure the system to your needs (OS version, partitioning, RAID, LVM, etc.) instead of depending on the few pre-configured images that your server provider offers. read more...
permapage | score:9981 | -falko, April 28, 2014

Setup Dashboard and VNC console on Two Node Controller+Compute Neutron GRE+OVS+Gluster Fedora 20 Cluster

Up
vote
Down

This post follows up Gluster 3.4.2 on Two Node Controller&Compute Neutron GRE+OVS Fedora 20 Cluster in particular, it could be performed after Basic Setup to make system management more comfortable the only CLI. read more...
permapage | score:9981 | -Boris Derzhavets, March 25, 2014

Quantum basic RDO setup (grizzly) to have original LAN as external on CentOS 6.4

Up
vote
Down

Attempting to follow http://allthingsopen.com/2013/08/23/openstack-packstack-installation-with-external-connectivity


I've got an error after starting :-
# packstack --allinone --quantum-l3-ext-bridge=eth0
It reports that ovs port eth0 already exists. Approach bellow in general follows RDO's discussion at http://openstack.redhat.com/forum/discussion/196/quantum-basic-setup

Follow as normal http://openstack.redhat.com/Neutron-Quickstart
When done create under /etc/sysconfig/network-scripts read more...
mail this link | permapage | score:9981 | -Boris Derzhavets, March 24, 2014

Running SilverStripe On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.04

Up
vote
Down

This tutorial shows how you can install and run SilverStripe on a Debian Wheezy or Ubuntu 13.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

http://www.howtoforge.com/running-silverstripe-on-nginx-lemp-on-debian-wheezy-ubuntu-13.04 read more...
mail this link | permapage | score:9980 | -falko, May 13, 2014

Running ownCloud 5.0 On Nginx (LEMP) On Debian Wheezy

Up
vote
Down

This tutorial shows how you can install and run ownCloud 5.0 on a Debian Wheezy system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.

http://www.howtoforge.com/running-owncloud-5.0-on-nginx-lemp-on-debian-wheezy read more...
mail this link | permapage | score:9980 | -falko, May 13, 2014

Using ngx_pagespeed With nginx On Debian Jessie/testing

Up
vote
Down

PageSpeed Beta is available for nginx, the nginx equivalent of mod_pagespeed for Apache. This module applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) and therefore speeds up your web site and reduces load times. This tutorial explains how to use PageSpeed with nginx on Debian Jessie/testing. read more...
permapage | score:9980 | -falko, March 24, 2014

Running ProcessWire on Nginx (Debian 7 / Ubuntu 13.04)

Up
vote
Down

This tutorial shows how you can install and run ProcessWire on a Debian Wheezy or Ubuntu 13.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files. read more...
permapage | score:9980 | -falko, August 25, 2013

How to install S3QL from source on Fedora 19

Up
vote
Down

The latter being the current active branch, with more features than the former. The 1.x branch does not get new features, only bugfixes. The other difference between the two branches is that the 1.x branch is compatible with Python 2.7, while the 2.x branch is compatible with Python 3.3. read more...
permapage | score:9979 | -finid, September 6, 2013

10 basic examples of Linux ps command

Up
vote
Down

The ps command on linux is one of the most basic commands for viewing the processes running on the system. It provides a snapshot of the current processes along with detailed information like user id, cpu usage, memory usage, command name etc. It does not display data in real time like top or htop commands. But even though being simpler in features and output it is still an essential process management/monitoring tool that every linux newbie should know about and learn well. read more...
permapage | score:9839 | -Silver Moon, March 24, 2014

Tutorial: Running CS-Cart on Nginx on Debian 7/Ubuntu 13.04

Up
vote
Down

This tutorial shows how you can install and run CS-Cart on a Debian Wheezy or Ubuntu 13.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files. read more...
permapage | score:9803 | -falko, August 21, 2013

Setup Nginx + php-FPM + apc + MariaDB on Debian: The perfect LEMP server

Up
vote
Down

Nginx is a fast and scalable web server capable of handling large traffic in limited resources. This tutorial shows how to setup nginx on Debian 7 along with php support through php-fpm, and MariaDB database. read more...
permapage | score:9793 | -Silver Moon, August 9, 2013

Tutorial: Automatically add a disclaimer to emails with alterMIME (Postfix on Debian 6)

Up
vote
Down

This tutorial shows how to install and use alterMIME. alterMIME is a tool that can automatically add a disclaimer to emails. In this article I will explain how to install it as a Postfix filter on Debian Squeeze. read more...
permapage | score:9783 | -falko, January 18, 2013

Virtual Users/Domains with Postfix/Courier/MySQL/SquirrelMail (Debian 7)

Up
vote
Down

This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I'll also demonstrate the installation and configuration of Courier, so that Courier can authenticate against the same MySQL database Postfix uses. The resulting Postfix server is capable of SMTP-AUTH and TLS and quota. Passwords are stored in encrypted form in the database. In addition to that, this tutorial covers the installation of Amavisd, SpamAssassin, ClamAV, and SquirrelMail. read more...
mail this link | permapage | score:9776 | -falko, July 8, 2013

Debian 6, Squid, Kerberos/LDAP authentication, Active Directory integration, Cyfin Reporter

Up
vote
Down

This document covers setup of a Squid Proxy which will seamlessly integrate with Active Directory for authentication using Kerberos with LDAP as a backup for users not authenticated via Kerberos. Authorisation is managed by Groups in Active Directory. This is especially useful for Windows 7 clients which no longer support NTLMv2 without changing the local computer policy. It is capable of using white lists and black lists for site access and restrictions. read more...
permapage | score:9769 | -falko, June 17, 2011

Tutorial: Debian 7 Samba Server with tdbsam

Up
vote
Down

This tutorial explains the installation of a Samba fileserver on Debian Wheezy and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access. read more...
permapage | score:9730 | -falko, June 5, 2013

HowTo: HTTP Status: 206 Partial Content and Range Requests Using Curl

Up
vote
Down

The HTTP 2xx class of status codes indicates the action requested by the client was received, and processed successfully. HTTP/1.1 200 OK is the standard response for successful HTTP requests. When you type www.cyberciti.biz in the browser you will get this status code. The HTTP/1.1 206 status code allows the client to grab only part of the resource by sending a range header. This is useful for:

* Understanding http headers and protocol.
* Troubleshooting network problems.
* Troubleshooting large download problems.
* Troubleshooting CDN and origin HTTP server problems.
* Test resuming interrupted downloads using tools like lftp or wget or telnet.
* Test and split a large file size into multiple simultaneous streams i.e. download a large file in parts. read more...
mail this link | permapage | score:9704 | -nixcraft, November 21, 2012
More admin articles...
Decorate your home or office with Fine Art

admin headlines

Tutorial: Replace Windows with Ubuntu 13.04

ATA over Ethernet (AoE) (Ubuntu 12.04)

Server monitoring with Icinga (Debian 6)

Server Monitoring With munin And monit On Debian Wheezy

Tutorial: Run Joomla 1.7 on Nginx on Debian 6, Ubuntu 11.10

Using Multiple PHP Versions (PHP-FPM FastCGI) With ISPConfig 3 (Ubuntu 12.04)

Installing FreeIPA with Replication

Using OpenVZ on Debian 7 (AMD64)

Apple DIY Repair

VPS: Xen vs. OpenVZ

Tutorial: Ubuntu Jeos 12.04 LTS Spam Filter Gateway Server

Tutorial: Install Lighttpd, PHP5, MySQL on CentOS 6.4

Install MySQL 5.6, memcached on Ubuntu 12.10

Tutorial: Fedora 19 Samba server with tdbsam

ssh: Use Linux as a SOCKS5 proxy

LAMP Tutorial: Apache2, PHP5, MySQL on Ubuntu 12.04 LTS

QEMU-KVM 1.0 patching for USB Redirection on Ubuntu 12.04

Set up Qemu-Spice-Libvirt 0.9.6 USB Redirection on Ubuntu 11.10

Tutorial: Run Ubuntu 11.04 Unity 3D on virtualbox 4

Tutorial: Install a Streaming Audio Server with Icecast 2.3.3 on CentOS 6.3 x86_64 Linux

System monitoring: Icinga, Nagios, and Opsview

Set up Oneiric PVHVM at Xen 4.1.2 Ubuntu 11.10 Dom0

How to install ajenti (like Webmin) on ubuntu 13.04 server

Build a Mail Server on CentOS 6 with Postfix, Dovecot, PostgreSQL

Install Hyper-V Linux Integration Components on CentOS 5

Tutorial: Build an OpenSUSE 12.2 x86_64 Server

Set up Ubuntu PV DomU via xen-image-create at Xen 3.3 Ubuntu Dom0 with Novell kernel 2.6.27

Alternative operating systems

Configure DNSSEC on BIND9 on Debian 6, Ubuntu 11.10

Tutorial: Install Postfix, Courier, MySQL, SquirrelMail on CentOS 6.2

Set up Qemu and Spice USB Redirection on Ubuntu 11.10

Tutorial: Install Lighttpd, PHP5 (PHP-FPM), MySQL on Fedora 17

Set up RH VirtIO SCSI driver on Windows 7, XP KVM

VirtualBox 4.2.10 released and ubuntu installation instructions included

Installing Nginx, PHP5, PHP-FPM, MySQL on Debian 7

Writing syslog messages to MySQL

iRedMail: Quickly configure a Mail Server with LDAP, Postfix, RoundCube / SquirrelMail on Ubuntu 8.04

Linux Iptables Examples

Scripting: A parallel Linux backup script

ownCloud 4.0 on CentOS 6.2

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin