Archive : System Tuning

RSS feed
Resize root partition for a running EBS EC2 Instance

Resize root partition for a running EBS EC2 Instance

As long as you are all right with a little downtime of the EC2 instance (in a few minutes), it is possible to extend the root partition on a running EBS boot EC2 instance, without needing to start a new instance.
vmtouch: File system cache diagnostics and control

vmtouch: File system cache diagnostics and control

From the topic above, you may have remembered one of our former post “what data is cached by operation system“. This is a similar tool as Fincore, but it’s more powerful. It’s written in C and supports UNIX and unix-like systems.
Sync two Amazon S3 buckets

Sync two Amazon S3 buckets

When using Amazon S3 to store the web files, you may face this question sometimes, How can I keep the files for my productive environment exactly the same as develop environment? (In other words, you want to remove the unused files in dev environment.)
5 Tips on Amazon S3 hosting optimization

5 Tips on Amazon S3 hosting optimization

If you use Amazon S3 (or CloudFront) as a web hosting provider, here are some essential tips that you should know about. These tips are mainly for front-end optimizations, including reduce S3 bandwidth, reduce unnecessary requests to S3, check abnormal requests and optimizations on file transfer.
Simple way to create Amazon EC2 AMI from running instance

Simple way to create Amazon EC2 AMI from running instance

When you have a running EC2 instance, you can build your production environment there, install whatever the packages you need, tweak system-wide configurations to meet your needs… Then you might wanna build your own AMI image to simplify future deployment.
How to free Linux Cache

How to free Linux Cache

In one of our former post, we have a way to check what type of data is cached by our operating system. Is there a way for us to release memory from Linux like what we can do in Windows?
Generate random password in Linux Command Line

Generate random password in Linux Command Line

Password is widely used in a production environment, for example, when we created a system account, we need to set an initial password for it, and When email / database / Subversion / LDAP (..etc.) accounts created, random passwords are needed as well.
Manage Debian auto startup scripts

Manage Debian auto startup scripts

Debian uses a Sys-V like init system for executing commands when the system runlevel changes – for example at bootup and shutdown time. Its startup files are stored in /etc/init.d/ and symbolic linked within the /etc/rcX.d/ directories. Debian Linux comes with different utilities to manage these [...]
Flashcache: caching data in SSD disks

Flashcache: caching data in SSD disks

Facebook released a kernel module called Flashcache this wednesday, which is used to speed up MySQL by caching data in faster media like SSD disks.  It’s only tested for kernel versions 2.6.18 and 2.6.20.
Using VETH instead of VENET in OpenVZ

Using VETH instead of VENET in OpenVZ

By default OpenVZ is using VENET as network device. It does packet switching based on IP header, which makes it look like a point-to-point connection between VPS and the physical host. An alternative device is Virtual Ethernet device (a.k.a. VETH).
© 2006-2011 Admon Home. All rights reserved.