24.12.2012 Views

Chapter 4 - DSpace at Waseda University

Chapter 4 - DSpace at Waseda University

Chapter 4 - DSpace at Waseda University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Chapter</strong> 6<br />

In embedded systems, there are a lot of errors and bugs. Some errors and bugs are solved<br />

easily. However, there are a lot of complic<strong>at</strong>ed problems such as memory leak and timer<br />

l<strong>at</strong>ency. In addition, it is not easy to find where the problem has occurred and how a<br />

developer or system manager fixes the problems up so as to improve the performance of<br />

system.<br />

Every embedded kernel gener<strong>at</strong>es event inform<strong>at</strong>ion such as irq, system call, I/O, memory<br />

and network It is the event inform<strong>at</strong>ion th<strong>at</strong> is the one of the most useful solution to analyze<br />

the cause of a problem in embedded systems to improve the performance. However, there is<br />

another problem th<strong>at</strong> the event inform<strong>at</strong>ion is huge. Therefore, to analyze all the event<br />

inform<strong>at</strong>ion is not easy and not effective.<br />

We propose a new system architecture which analyzes the event log through the embedded<br />

kernel - KAS. The KAS finds out problems through the kernel exceedingly quickly, and<br />

separ<strong>at</strong>es them from the whole event inform<strong>at</strong>ion. And then, it starts to analyze them<br />

st<strong>at</strong>istically and provides a developer or system manager with the recommended solution. In a<br />

case study, we tested HRTimer’s l<strong>at</strong>ency, and got a result th<strong>at</strong> the cause of HRTimer’s l<strong>at</strong>ency<br />

is usually coming from softirq priority. However, only by solving the priority problem, the<br />

HRTimer’s l<strong>at</strong>ency problem is not able to be settled perfectly since sometimes it is caused by<br />

hardirq’s l<strong>at</strong>ency or l<strong>at</strong>ency <strong>at</strong> an interrupt locking. However, we examined how effective and<br />

quick to solve problems <strong>at</strong> an embedded kernel by using the KAS.<br />

6.2 Future Work<br />

In this section, we describe problems of the KAS, and explain how to improve it. Actually,<br />

the KAS does not support real-time analysis. In addition, it needs to improve to be connected<br />

78

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!