14:02:48 #startmeeting PowerManagement 14:02:48 Meeting started Wed Feb 23 14:02:48 2011 UTC. The chair is jskarvad. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:48 Useful Commands: #action #agreed #halp #info #idea #link #topic. 14:04:06 hi all 14:04:35 I digged into tuned. 14:05:16 I created experimental patch that incorporates dynamic EEEPC FSB switching into CPU tuning plugin. 14:05:23 I've checkouted it yesterday :) 14:06:20 HanzZ: it is experimental in my local branch and not yet commited ;) 14:06:53 to server 14:07:12 I see :) I meant I've checked out tuned :-P 14:07:37 HanzZ: good start :) 14:08:26 and how big effect it has? 14:09:20 Purpose of the patch: the FSB switch takes too long, so it is not handled automatically by kernel and have to be handled in user space 14:10:03 jmarko: currently we have static FSB tuning in F14 tuned, if you enable tuned profile laptop-battery-powersave the FSB is statically reduced 14:10:29 jmarko: according to our tests it is about 1.5 W savings in active idle and more on loads 14:10:38 great :) 14:12:27 jmarko: the purpose of the patch is to make it dynamic, because decreasing FSB also decreases computational power, so the same task will be computed longer with lower FSB and then there is no energy savings 14:13:31 In the proposed patch the FSB frequency is switched dynamically according to system load 14:14:41 The functionality can be controlled by the tuned CPU plugin config directive 'eeefsb=True/False' and by default I enabled it for laptop-battery-powersave 14:14:52 profile 14:15:12 Current implementation: 14:15:14 so it is only 2 step switching (power save / fast) 14:16:24 jmarko: Currently the EEEPC supports three modes: powersave, high performance (normal), and super high performance (slightly overclocked), but we only use normal and powersave 14:20:44 The tuned implementation can be used generally, but currently we have only backend code for the EEEPC FSB switching 14:20:44 what about do a banchmark of all tree states (power-save/high performance/super high performance) 14:21:40 jmarko: So far I did not benchmark super high performance 14:22:05 jmarko: I will check this 14:22:30 jmarko: check our wiki, I am going to create page with benchmark results 14:24:23 About the implementation: currently the FSB switch can take place in every 10 secs. 14:24:41 can you send me a link to the wiki page? 14:25:15 jmarko: sure, SIG wiki: https://fedoraproject.org/wiki/SIGs/PowerManagement 14:25:58 jmarko: there are also some older results, but I am going to update it 14:26:19 thanks 14:27:14 The FSB is switched to lower frequency if the average system load is bellow 20 percent and it switches back to normal if the average load is above 40 percent. 14:27:46 The small hysteresis was added to eliminate periodic switching. 14:28:11 The coefficients were taken by hand, but I am experimenting with various settings. 14:28:58 Currently I am testing this feature and if satisfied I will post the patch to jvcelak for review / inclusion, becouse I would like to have this in f15. 14:32:49 Next thing: I also overviewed the PM-QoS latency settings in tuned. 14:33:03 It can by cool write script which run test with different % setting and then report the results for all possible combinations (with step 1%) 14:33:51 jmarko: Good idea, but it also depends on type of load 14:34:30 jmarko: so the solution space of this task is huge 14:35:13 jmarko: but I will take it into account 14:35:38 I can help with the script 14:40:42 jmarko: we can use it to get limits for switching for specific machine, e.g. when the switch will save energy 14:41:14 jskarvad: we would need to manipulate the cpu load 14:41:53 jmarko: so this approach doesn't help with the hysterisi 14:42:11 jmarko: for the hysteresis setting we would need 'real life' examples 14:42:37 ok so we need to create one real live banchmark 14:42:45 when we're in that brainstorming mood, what about create some real life benchmark 14:42:57 using for example some firefox API to simulate browsing 14:43:04 just idea ;) 14:43:24 HanzZ: +1 for OS independent real life benchmark 14:43:39 let it to check youtube pages, play music in amarok from time to time 14:43:52 HanzZ: I am looking for such thing 14:44:07 HanzZ: feel free to prepare one, it would help us 14:44:07 *amarok == some player, that's what I use... 14:44:09 but it will be hard to do it os independent 14:44:17 well, I'm ok with linux so far 14:44:26 with firefox it would not be so hard to do it independed 14:44:35 *independed 14:44:59 Hanzz: It would be good to be able to do inter OS comparisons 14:45:11 yeah, I know your motivation here 14:45:11 yes but you need to test creating documents, reading pdf, reading email, listen to music, watch videos 14:45:16 HanzZ: According to my personal tests Fedora doesn't stay bad 14:45:52 jmarko: that can't be done independently, but you can at least do *some* things 14:46:03 ok creating documents in libre office can be os independent 14:46:18 using ff and Thunderbird too 14:46:23 HanzZ: Feel free to start such project, btw I will add it to our todo page 14:47:00 what about vlc for music and video? 14:47:01 currently I am looking for the suitable, reliable and inter-platform capable free benchmark which can be used for the power consumption measurement 14:47:02 jmarko: you can have special OS-depend modules anyway which would use some other apps. The idea is to have some common API for invocation of those scripts 14:47:26 *scripts == modules 14:47:54 well, I think I can help here. At least I can start with "surfing the internet" benchmark 14:47:54 HanzZ: currently bltk have some loads, but we need something more robust 14:48:06 HanzZ: great 14:48:06 jskarvad: have to google it for more info 14:48:22 HanzZ: +1 from me 14:49:52 I really appreciated any help with this 14:50:54 It would be good not to have only desktop tests but also server tests, e.g. requests to HTTP server, etc. 14:51:53 HanzZ: counting with you for PM ;) 14:52:53 jskarvad: I think there are some statistics SW for webservers 14:53:10 which simulates "normal" load 14:53:22 the problem is only with "normal" desktop usage 14:53:33 ab? 14:53:49 But is the http server a standard use-case of eeepc? 14:54:17 Any tips would be appreciated, currently I am gathering and incorporating free tests to my personal testsuite 14:54:31 fenrus02: thanks for tip 14:54:36 we could even do some logger app to analyze how people work with computer and store their load using sysstat or whatever 14:54:43 to find out what's "normal" 14:55:02 HanzZ: this sounds to me like big brother feature ;) 14:55:16 HanzZ: Cool spy feature 14:55:30 I don' t want to use them secretly :-P 14:55:38 *them to use it 14:56:38 anybody interested please sign up to PM SIG mailing list: power-management@lists.fedoraproject.org 14:56:38 Yes you will give there a button: Yes a will be spy-ed by HanzZ 14:58:08 https://admin.fedoraproject.org/mailman/listinfo/power-management 14:58:22 And any more tips are welcome. 15:00:16 OK, according to wiki, there is schedule for another group meeting on 15:00, so I will end it for today 15:00:34 Thanks all for tips 15:00:39 :) 15:01:13 Let's meet again next week. 15:01:29 ok by 15:01:40 #endmeeting