2006/JAN/20JapanTechnicalJamboree61 Improvement of bootup time using Power Management - Project Update - Hiroki Kaminaga Sony Corporation
2006/JAN/20JapanTechnicalJamboree62 Summary : Studied to make bootup time faster using Suspend-to-disk technology Saving snapshot in each phase during development (e.g. for verification)
2006/JAN/20JapanTechnicalJamboree63 Stories so far : Ported swsusp function onto ARM –Kernel: Ported suspend2 function onto ARM (suspend2-2.2-rc9) –Kernel:
2006/JAN/20JapanTechnicalJamboree64 Status of Suspend2 : 2.2-rc9: Already ported onto ARM 2.2-rc13: ARM support was incorporated in suspend2 2.2-rc16: Now debugging ARM version ( Now very hot ) Evaluated on 2.2-rc14 for today’s presentation ( The Latest version whose operation is confirmed )
2006/JAN/20JapanTechnicalJamboree65 Environment : Target Board –OMAP Starter Kit (OSK 5912) OS –Linux 2.6 Boot loader –U-boot Image destination –Flash ROM Hardware Features: ARM9 core operating at 192 Mhz. DSP core operating at 192 Mhz. TLV320AIC23 Stereo Codec 32 Mbyte DDR SDRAM 32 Mbyte Flash ROM RS-232 Serial Port 10 MBPS Ethernet port USB Host Port Compact flash connector On board IEEE JTAG
2006/JAN/20JapanTechnicalJamboree66 Measurement : Used printk times $ make menuconfig Kernel hacking ---> [*] Show timing information on printks
2006/JAN/20JapanTechnicalJamboree67 Measurement Results : ashmplayer un-hibernate start [sec] un-hibernate end [sec] un-hibernate delta [sec] read data delta [sec] read cache delta [sec] read total delta [sec] other [sec] image size [MB] read speed [MB/sec] Log…
2006/JAN/20JapanTechnicalJamboree68 Read Speed of NOR FLASH : MT28F128J3FS-12 ET –16 bit / 120ns Read Cycle ( From Datasheet ) → MB/s –$ time dd if=/dev/mtdblock3 of=/dev/null \ bs=1024 count=10240 user 0.07 sys 2.25 → 4.44 MB/s
2006/JAN/20JapanTechnicalJamboree69 Issues : Bottleneck analysis using performance analyzer etc. →to reduce bootup time Debugging tool →to analyze bug of rcXX →LKST? LTT? SystemTap?
2006/JAN/20JapanTechnicalJamboree610 Misc. : To speed up the image reading with DMA transfer? To start Un-hibernate earlier? Collaboration with boot loader
2006/JAN/20JapanTechnicalJamboree611 EOF