Openstack 性能优化之MySQL(MariaDB)

对于openstack的性能优化有很多方面,这里只对mysql也就是mariadb进行简单优化。对于mysql的默认配置,用作小型站点尚且可以运作。但是对于数据中心的环境,使用mysql的默认配置绝对是不行的。我做了个测试,使用默认的配置,用benchmark测试读时,每秒是1600多个事务,但是优化之后,可以达到六千多个,速度提升六倍。文末或有测试数据。 这里只讨论几个核心的关键的参数,mysql的参数太多,完全掌握得话大量的时间和精力。 1, default_storage_engine

Deploy VPNaaS in openstack liberty

Clarifying about the VPN agent and L3 agent for the reference implementations… There is a hierarchy for the agents. At the bottom is the FW agent. The L3 agent, is a subclass of the FW agent, using a flag to indicate that FW is enabled. The VPN agent is a subclass of the L3 agent. As a result, there is…

Sahara tutorial for openstack Liberty and Mitaka

Sahara tutorial for openstack liberty and mitaka This tutorial includes following parts: sahara installation cluster configuration job configuration run map reduce job Before you start, you should have an openstack cluster working fine on Ubuntu 14.04 Perform all those steps on openstack controller node, in my environment, controller node hostname is controller1.

Ansible error “failed to resolve remote temporary directory from”

ansible ssh error,”failed to resolve remote temporary directory from”   diff -r 572,575c572 < if in_data: < cmd = self._build_command(‘ssh’, self.host, cmd) < else: < cmd = self._build_command(‘ssh’, ‘-tt’, self.host, cmd) — > cmd = self._build_command(‘ssh’, self.host, cmd) 691c688 < self._connected = False \ No newline at end of file — > self._connected = False

Writing gui for Shaun OS

I haven’t updated Shaun OS for a long time because lots of things need to be done for my new job. In last year, i changed my job and went into a new cloud-compute company. For my os project, I am writing a new user interface for my os currently, until now, i just wrote three components, window, label and…

A deep look into the kernel design of Shaun OS

The advanced design of kernel has made Shaun OS much more stable, attractive.  How does it work? I will give a full statement of what i think in my mind, the rule i take when i am coding. First of all, the support of kernel mode thread gives me a great convenience. When hardware’s initialization is done, five kernel mode threads…

UEFI GUI App

This is a UEFI gui demo app i wrote for my job project. I have implemented some basic UI components,edit box, combox, label, dialog, text edit, button, radio box, and window system.  It was written in c++. Now I know how to write ui system

book list

Understanding the Linux kernel I bought this book from amazon.This book illustrates how and why kernel components are implemented, but there is a mistake in page 265,Chapter The Scheduling Algorithm,in section Scheduling real-time process,the original words are:Every real-time process is associated with a real-time priority, which is a value ranging from 1(highest priority) to 99(lowest priority). Obviously it has the…

About binary file

Shaun OS support elf binary file loading, both static or dynamic linked. Loading static linked elf binary is quite easy,we do not cover it here.

About Filesystem

Shaun os uses ext2 file system by default. Based on ext2 spec, Shaun made a basic implementation of that, and it’s compatible with linux’s now.

About Memory

The following picture illustrates physical memory usage and layout of Shaun os.