We've been emphasizing the benefits of using Oracle Linux with Ksplice rebootless updates several times already. The ability to minimize downtime when applying rebootless patches to the Linux Kernel is a feature unique to Oracle Linux, and a growing (more...)
I have seen several clients who are struggling to decode page allocation failures on Exadata, in this post i will try to explain how to read the backtrace. The following is an anonymized client case where page allocation failures are leading up to a node reboot.
Jan 1 11:58:02 dm01db01 (more...)
iptables service defines rules for handling packets on a Linux system. It's usually a good idea to disable this service during installation of a Linux update to prevent malicious code from being installed by angry cats. Once the update is installed securely, you can define the
iptables rules (more...)
We will complete our lab by installing the Oracle Database software, create a Pluggable database and take a look in the Oracle Enterprise Manager Database Express.
The steps to install and create an Oracle Database 12c are:
1 – Go to the database directory created when unzipped the 2 Oracle (more...)
Linux Containers (LXC) provide a means to isolate individual services or applications as well as of a complete Linux operating system from other services running on the same host. To accomplish this, each container gets its own directory (more...)
Join our live Webcast on Tuesday, June 25, 2013, 11:00 GMT-12:00 CET, to discover how you can:
- Cut costs by up to 50% with a unified, multiplatform data center fabric
- Take control of networking and storage with a single management interface
- Reduce infrastructure complexity by 70% with (more...)
I. hate. slow. code.
We all hate slow code. Bunch of princesses is what we've become. During the American Civil War, they had to deliver their text messages by horseback! It took weeks! And half the time, they got blown off their horse by a cannonball to the neck!
Today? Today we have to have our stuff back in milliseconds, or we start tweeting about it. So, if you're developing or deploying applications, how do you keep them performing at the speed to which we have become accustomed? DTrace, of course.
"But I'm a Linux guy," you say. "I don't DO Oracle Solaris."
That's fine. The folks at Oracle Solaris are not only wicked smart, they are generous. Now you can use DTrace on Oracle Linux. Let me point out, by the way, that DTrace is just as useful for sysadmins as it is for developers. In this video, taken a couple of years ago, Brendan Gregg explains how sysadmins can make their deployed applications run faster even after the developers who wrote them pushed back the last bits of their code:
Video Interview: How to Improve the Performance of Deployed Applications Using DTrace
Brendan Gregg describes the best ways for sysadmins to tune deployed applications to get more performance out of them in their particular computing environment.
If you'd like to try DTrace on Oracle Linux, here are some resources to get you started.
What DTrace Probes Are Available on Oracle Linux?
If you are running Oracle Linux 6 with the DTrace-enabled Unbreakable Enterprise Kernel Release 2 (2.6.39), you can run this command to list all the DTrace probes available on your system:
If you are not running that version of Oracle Linux, you can download it from the
ol6_x86_64_Dtrace_latest channel on the Unbreakable Linux Network (ULN). For more info about installing and configuring DTrace, see the DTrace chapter in the Oracle Linux Administrator's Solutions Guide for Release 6.
For each probe listed by
dtrace -l, the output includes a name, the portion of the program where it resides, and the Oracle Linux kernel module that does the probing. Once you have that, go to Chapter 11 of the DTrace Guide to find out what each probe does.
DTrace is a powerful tool, and it can do some amazing things. But it's not that difficult to get started doing simple things. You can build up from there. In this article, Richard Friedman gives you a high-level overview of DTrace and its major components:providers, modules, functions, and probes. He explains how you can use either one-liner commands on the command line, or write more complex instructions in scripts, using the D language. He provides simple examples for each. It's a great way to get your feet wet.
Bonus: Brendan Gregg's one liners for DTrace (some of the existing DTrace one-liners will require modification to work on Oracle Linux).
The DTrace Book
You can get all the info you need about DTrace through the Dynamic Tracing in Oracle Solaris, Mac OS X, and FreeBSD, by Brendan Gregg and Jim Mauro. Of course, you can also buy your own paper or electronic copy through any of the major retailers. (We're working on getting a good discount for the book, but you'll have to subscribe to the OTN Systems Community Newsletter to find out about it.)
Lots of developers and sysadmins are using Dtrace and posting their questions and tips on the DTrace Forum. Here's an example of one conversation:
Q: Unexpected output of dtrace script
m1436wrote a dtrace script to monitor the bytes returned by the read() system call to the user programme, but was getting strange results. He includes the dtrace script and the strange output. A:
kvhresponds, explaining that the problem m1436 encountered is the result of a common misconception about copyin(). "It is intended to be used to copy content of userspace memory into a scratch buffer so that it can be accessed directly from within kernel space (where the DTrace core executes). That said, it is often interpreted as somehow being equivalent to malloc() whereas in reality it actually works like alloca() instead. So, what you are seeing is basically the artifact of the scratch buffer being overwritten with other data. ... in order for this to work, you should do things a bit differently.
The DTrace forum always has great discussions. Let me know if you find any that are worthy of highlighting. And good luck!
LinuxCon Japan 2013 is happening next week (May 29-31) in Tokyo, and several members of the Oracle mainline Linux kernel team are speaking:
- Jeff Liu - XFS in Rapid Development
- Liu Bo - Btrfs Specific Data Deduplication
- James Morris - Recent Developments in the Linux Kernel Security Subsystem
For those (more...)
Oracle is sponsoring LinuxCon Japan 2013 (Oracle's Linux Blog)
Wednesday, May 29th, 3pm Neptune Room:参考までに下記に出てくる perf はOracle LinuxでUEKカーネルでブートすれば使える状態になっています。
Recent Developments in the Linux Kernel Security Subsystem - James Morris, Oracle
LinuxCon/CloudOpen Japan: Recent Developments in the Linux Tracing...
Perf, Systemtap, and Ftrace?
This is a contributed post from Mingming Cao, lead ext4 developer for the Oracle mainline Linux kernel team.
I attended the second ext4 workshop hosted at the third day of Linux Collaboration Summit 2013. Participants included Google, RedHat, SuSE, Taobao, and Lustre. We had about 2-4 hours of good (more...)
But now rebooting works like expected (with Ubuntu and Windows 8).After some more reboots and trying to start ubuntu, booting ubuntu only works randomly. Sometimes it worked after walking through BIOS/UEFI. Sometime it did (more...)
Dayton folks - are you coming to the Dayton Linux User Group's Installfest tomorrow?
The main point of our Installfests is to get everyone together for mutual help setting up and configuring computers and programs. But we like to throw in some educational talks, too, and I volunteered to give (more...)
Today I installed the accompanying JDeveloper 126.96.36.199 on the same machine. Everything went fine, except that apparently the installer failed to (more...)