Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" |
| 2 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" |
| 3 | [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] > |
| 4 | |
| 5 | <chapter id='profile-manual-examples'> |
| 6 | |
| 7 | <title>Real-World Examples</title> |
| 8 | |
| 9 | <para> |
| 10 | This chapter contains real-world examples. |
| 11 | </para> |
| 12 | |
| 13 | <section id='slow-write-speed-on-live-images'> |
| 14 | <title>Slow Write Speed on Live Images</title> |
| 15 | |
| 16 | <para> |
| 17 | In one of our previous releases (denzil), users noticed that booting |
| 18 | off of a live image and writing to disk was noticeably slower. |
| 19 | This included the boot itself, especially the first one, since first |
| 20 | boots tend to do a significant amount of writing due to certain |
| 21 | post-install scripts. |
| 22 | </para> |
| 23 | |
| 24 | <para> |
| 25 | The problem (and solution) was discovered by using the Yocto tracing |
| 26 | tools, in this case 'perf stat', 'perf script', 'perf record' |
| 27 | and 'perf report'. |
| 28 | </para> |
| 29 | |
| 30 | <para> |
| 31 | See all the unvarnished details of how this bug was diagnosed and |
| 32 | solved here: Yocto Bug #3049 |
| 33 | </para> |
| 34 | </section> |
| 35 | |
| 36 | </chapter> |
| 37 | <!-- |
| 38 | vim: expandtab tw=80 ts=4 |
| 39 | --> |