電腦效能應用與安全研究室 Performance, Applications and Security Lab


我們的研究範圍很廣,從嵌入式系統、手機應用、一直到雲端計算、商務應用、資訊安全都有做。
我們的合作研究夥伴很多,包括聯發科、IBM、中研院、資策會,還有和台大、清大、交大的教授合組研發團隊
,包括高階應用處理器架構研究、虛擬化技術、異質計算、系統軟體等重要技術的研究與創新,我們很關切台灣人才與產業的未來。

2011年5月29日 星期日

美學


最近報載教育部研擬將藝術學科列入升學考試評量項目,光是以過去的經驗,就可以知道這個想法無異於揠苗助長,反而會誤人子弟。

來到法國的第一天,我見識到巴黎的美。我應該算是很鐵齒的人,對於沒有親眼見證的人事物,總是多少有些懷疑。在媒體上看到法國人如何浪漫,也沒有太大的感覺。這次像是劉姥姥進大觀園,開了眼界。

如果光是看美景、看建築、看工藝,那倒也還好。這些或多或少在別的地方都有看過,光是屬於華人的東西,有些更宏偉精鍊。然而,審美和愛美之於巴黎人,是實踐於生活中的,甚至可以是生活的目的和生命的意義。在其他地方,審美或許只是有錢有閒人才搞的東西,愛美或許只是皮相小道和膚淺的迷戀。在這裡,我看到『數大便是美』:當一整個都市大多數的人都懂得審美都愛美的時候,散發出來的氣息已經超越皮相,昇華至『道』的層次,這是美學之道,難怪乎學美術的人要到巴黎。學音樂的人要到維也納,學佛朗明哥的人要到西班牙,也是同理可證。

我一直想去探索美學之道和形而上的道的關聯性,我知道有幾本書可以看,應該看,只是本身美學素養不足,看了也沒用。看到巴黎人走路、聊天、穿著、乃至於一舉手一投足所表現出來的韻味,我看到美學是精神食糧,也是多人們互動的基礎。因此,在奧賽美術館參觀莫內、梵谷、高更等畫家的作品時,比較能夠想像這些作品是如何誕生的。

為了升學而學藝術,學到的會是什麼?藝術史嗎?選擇題:以下哪幾位是法國作家?問答題:請問油畫製作的過程為何?還是學著成為『藝術匠』?工作忙到快過勞死的人們,有時間擁抱藝術嗎?要藝術做什麼?

藝術之道能美化人生,能促進人與人的互動,能驅使人們向上提昇。其他領域都有它各自的道,讓走在道上的人感受到世界之美,賦予生活的意義,這或許就是一種美學吧。

以此文和以下照片紀念來到巴黎的啟蒙之日...

巴黎聖母院的彩繪玻璃窗
在艾菲爾鐵塔上爬了683階,對老朽的身體也是不小的挑戰,巴黎傍晚的景色盡收眼下... 先放一張上來
傍晚到著名的香榭大道上,望著凱旋門,到達巴黎的第一天,我感受到巴黎的美,景物固然美,巴黎人審美的心和愛美的執著,更令我心搖神馳。這是法國文化,美的文化。

2011年3月10日 星期四

我的研究(給新生的一封信)





下週研究所放榜,對我的研究有興趣的學生來信,很有禮貌地很完整地介紹自己,說他已經看過我們實驗室的網頁,然後詢問能否來找我當面請教。比起許多學生完全不懂事地寫信來或是見面時馬上就要我介紹實驗室給他聽,態度上要好太多了。因此,我特地寫封信回他,介紹我正在做的研究。他來信用英文,我就回英文。寫完之後,乾脆到處張貼,給即將進入研究所的新生看看,有興趣的來談,非誠勿擾。

Dear New Graduate Students,

It is perfectly fine for you to contact the professors that you would like to work with in the future. Choosing your advisor is a big decision for you, and it is important that you know about the professor's research interests, personality, and work style before you join his/her lab. For that, you need to know yourself first.

Some of my students and I have been researching on embedded systems and cloud computing systems. To understand embedded systems, we study embedded applications, embedded OS, and embedded architectures to get the complete picture on how the systems perform. In this area, our major targets now are Android systems, performance tools, and virtual platform. For cloud computing systems, we study parallel and distributed computing, including parallel computer architecture, optimization of parallel applications, and performance analysis of cloud-based applications.

Android is one of the hot topics in computers. We are not just writing Android applications -- many students who know Java programming can learn how to do that by themselves in weeks. We want to know the internals of Android and how to make it better for important applications. Android smartphones and tablets are already popular in the market, and we think that is just the beginning. Just like PCs in the past, Android systems will be everywhere to perform all sorts of applications in the future. The question for us and many companies in Taiwan is: How to design a competitive Android system? Before we can answer that question, we need to understand Android first. 

Android is based on Linux, and I have been teaching a Linux kernel course since 2006. There are many interesting works in Linux, and I think students can learn a lot from hacking the kernel and trying to improve a Linux system. I have also worked on state-of-the-art supercomputers and enterprise systems in the past, and from the experiences I know the required knowledge and skills to hack complex computer systems and the methodologies to analyze their performance systematically. Performance tools and virtual platforms are important techniques for us to understand what happens in a system. We try to improve existing performance tools and design new tools on virtual platforms, so that even a beginner can also benefit from these tools.

Cloud computing is another hot topic of Today, even those who don't really know computer systems can talk about cloud computing in public. We don't think that cloud computing is re-inventing the wheels because what really matters is the infrastructure technologies that are used to make cloud computing more and more power and efficient. I don't work on cloud computing simply because it is hot, although many people do. I do research on it because I work on parallel processing and a variety of computer systems in the last 18 years. Some people think that cloud computing is simply moving existing applications or services from a company's server room to a service provider in the cloud -- that is merely a user's view of cloud computing. Knowing how to do that is not far from knowing how to install an operating system on a PC, which is really not a big deal. Instead of being a user, we want to understand how to build better cloud computing systems and improve cloud computing applications. At this moment, we see many interesting, open research topics in this area, including security and privacy issues, application migration, cloned execution, virtualized execution environment, performance monitoring, etc.

As you can see, the topics mentioned above are quite practical, but they are very challenging. Personally, I would like to make contributions by solving real problems, and I hate to waste my time on useless research. Since we choose to work on hot topics and complex systems, it is mandatory that my students and I have a lot of old things and new things to learn everyday, and it may be hard for some new students. As for myself, I love learning -- learning to become smart in doing things. I hope my students share the same view as I do and have fun learning things in our lab. Thus, I don't like to micro-manage my students, but I want my students to manage their projects and learn how to become smart when they work on computer systems. That's what I really wanted to teach when I decided to join the university, and that's how we will all become smarter in the future.

Please let me know if you have any questions and if you would like to talk to me in person. 

Sincerely,

- Shih-Hao Hung

2011年1月31日 星期一

醒思:業界與學界


剛好是今天起床前在思考的問題,所以名之為『醒思』:為什麼現在資工畢業的學生還要蜂擁前往明明知道會被狂操三五年的硬體廠( e.g. MTK)?大家不知道burnout(過勞)有多可憐嗎?最近遇到好幾個案例,發覺不少基層的工程師心態和想法怪怪的,不通人情,偏執,情緒起伏很大,很難溝通,動不動就要脅對方要把事情鬧大。

根據政府單位的『過勞自我預防手冊』(http://www.iosh.gov.tw/upload/netbook/preoverwork/preovw.htm)
「過勞」(burn-out)指的是一種身心耗弱狀態,乃是長期處在高度心理壓力之下的壓力反應。過勞的症狀與成因複雜,多數研究認為過勞是長期暴露於工作壓力下的結果。過勞與工作壓力是重要的公共衛生議題,所謂「過勞」、「過勞猝死」、及找不出特殊病因的「慢性疲勞症」,在高度工業化國家已是極受重視的職業健康問題。

當然,在一個不是『高度工業化國家』,過勞或許就被看成是個人問題或是個人選擇,沒有受到機關和政府的重視。著名的鴻海跳樓事件,一開始被淡化,要累積到十跳之後,才吸引輿論噠伐,而後中國官方介入,而後鴻海以提高工資和若干措施回應之。

回到台灣,在時間就是金錢的硬體廠作事很可憐,一方面要跟時間賽跑,一方面不知道未來在哪裡。以IC設計產業為例,比別人快一個月把新的IC做出來,就比別人多賺這一個月的錢。當然,數量龐大的話,這個月賺進來的錢就很多了,這是MTK等IC設計公司能夠日進斗金的關鍵,主要靠的是人才,不是資本。時勢造英雄,成名廠商吸引人才前來,按表操課,客戶要什麼就在最短時間設計出來,管他客戶是Apple還是山寨,不必多想些什麼,也不必培養真正創新研發人才。

我們電機和資工界許多的第一流人才,就是到這類地方,貢獻他們的黃金歲月,為他們自己累積財富,為公司的管理階層帶來收益。當然,這些錢為國家帶進稅收,也會促進經濟活動,利益全民。這些都很好,所以國家就讓這些無名英雄在經濟的戰場上,拼命在最前線作戰,台灣的經濟,這幾十年來都靠這些默默犧牲的無名英雄。

軍人保家衛國,公教人員為大眾服務(注:大學教授不算在內,沒有十八趴,沒有什麼保障),就算過了黃金歲月,國家還是會善待軍公教人員。但是業界這些burnout邊緣的無名英雄的宿命呢?運氣好,有人賺了一票,夠一輩子花用,但是大多還是繼續過著burnout邊緣的日子,一直到身體、精神、家庭出狀況為止。運氣不好,賺的不夠多,但是腦袋和身體已經burnout的中年人,廠商不想要,走投無路者大有人在。大多數運氣中等的,就在那邊一直苦撐著,所謂科技新貴,幾年賣命下來,能夠買房子,卻難得有福消受。有趣的是,為了繼續過這種『好日子』,每天還是必須汲汲營營的追趕日新月異的新科技,即便是周遭擁有一流的腦袋的朋友,到了四十歲以後,還是吃不消。

更可悲的是,明天在哪裡?坦白說,我對研究新科技極有興趣,和對於投資哪些新科技公司會賺錢這碼子事完全兩回事。我去Sun做事的時候,是Sun的顛峰時期,而後我在Sun的所見所聞告訴我,好的工程師、好的新科技、甚至收買所謂的好公司,不保證公司一定會賺錢。台灣科技業的明天在哪裡?真的很難講。

在過去,去創業或是去這些非常操的公司,無非是種賭博,或許還是贏面較大的賭博。現在呢?你想賭嗎?科技研發本來就是高風險的投資和賭博,只是用血汗去跟人家(新興的中國和印度)拼命,能夠撐到幾時?以業界大老闆和管理階層的思維,那裡便宜哪裡做,不會跟你講義氣,不會照顧你下半輩子,你還要賣命嗎?

本著教育者的良心來講這席話,讓學子們知道這些很多既得利益者不願告訴學生、一般大眾濛濛懂懂的現實,不是我們在大學應該做的嗎?讓學生們在學校學到真正有用的研發技能,將來有能力幫助業界突破現今科技界僵局,不是我們所謂研究型大學應該努力去做的嗎?還是任憑業界守舊的心態宰制我們第一流的學生,還把原罪歸咎於學界培養不出有用之才,笑我們為什麼不讓學生早點畢業到業界接受訓練?嚴重扭曲的大學精神,以及逐漸被鄙視的大學教育,難道在象牙塔的長官們還漠不關心?是渾渾噩噩,還是無動於衷?