Book Image

Oracle SOA Suite 11g Performance Tuning Cookbook

Book Image

Oracle SOA Suite 11g Performance Tuning Cookbook

Overview of this book

Oracle SOA Suite 11g forms the heart of many organisations' Service Oriented Architecture. Yet for such a core component, simple information on how to tune and configure SOA Suite and its infrastructure is hard to find. Because Oracle SOA Suite 11g builds on top of a variety of infrastructure components, up until now there has been no one single complete reference that brings together all the best practices for tuning the whole SOA stack. Oracle SOA Suite 11g Performance Tuning Cookbook contains plenty of tips and tricks to help you get the best performance from your SOA Suite infrastructure. From monitoring your environment so you know where bottlenecks are, to tuning the Java Virtual Machine, WebLogic Application Server, and BPEL and BPMN mediator engines, this book will give you the techniques you need in a easy to follow step-by-step guide. Starting with how to identify problems, and building on that with sections on monitoring, testing, and tuning, the recipes in this book will take you through many of the options available for performance tuning your application. There are many considerations to make when trying to get the best performance out of the Oracle SOA Suite platform. This performance Cookbook will teach you the whole process of tuning JVM garbage collection and memory, tuning BPEL and BPMN persistence settings, and tuning the application server. This book focuses on bringing together tips on how to identify the key bottlenecks in the whole SOA Suite infrastructure, and how to alleviate them. The Oracle SOA Suite 11g Performance Tuning Cookbook will ensure that you have the tools and techniques to get the most out of your infrastructure, delivering reliable, fast, and scalable services to your enterprise.
Table of Contents (19 chapters)
Oracle SOA Suite Performance Tuning Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Setting the Linux kernel swappiness to low


The swappiness level of the Linux kernel determines how likely it is to swap memory pages out. Setting a low value can improve the performance of Oracle SOA Suite.

Getting ready

You will need to be running Oracle SOA Suite 11g on a Linux box, and have root or sudo access in order to change the kernel settings.

How to do it…

To set the Linux kernel swappiness to low, perform the following steps:

  1. Log in to the box as root.

  2. Check the current swappiness setting as follows:

    $ cat /proc/sys/vm/swappiness
    60
  3. Edit the file /etc/sysctl.conf, and set the property vm.swappiness to a lower value. We suggest starting with 0 if you have plenty of physical memory on the machine.

  4. Save the file.

  5. Restart your Linux server for the change to take effect.

  6. Check if the swappiness setting has been applied, like this:

    $ cat /proc/sys/vm/swappiness
    0

How it works…

The vm.swappiness property of the Linux kernel determines how likely the kernel is to swap a page out of memory. Swappiness...