3

LGS Hell

 2 years ago
source link: https://oopsmonk.github.io/posts/2017-05-31-2017month5/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

LGS Hell

May 31, 2017 · 1 min · oopsmonk | Suggest Changes

以前球隊在回防時, 教練總會說"快跑! 別回頭, 到定點再休息".
關於人生, 喘息點在哪兒? 我想就在滴水穿石之間!

主要在了解linux graphic system架構, 並分析wayland weston compositor/glmark2的repaint flow.

Week18 (05/05)#

網路文章#

和百年公斤原器說再見!七大國際單位制將改頭換面
原來用抽像來定義實體早己行之有年.

網路資源#

C++ Language Interface Foundation (CLIF)
Google 做了一個C++ wrapper generator, 目前看來只for Python, 目標是支援更多的語言.

Week19 (05/12)#

網路文章#

Weston repaint scheduling

Week20 (05/19)#

Wayland的weston compositor可透過wesgr來分析repaint過程. glmark2-es2-wayland 加入debug去看glmark repaint過程

[18:50:21.959]  canvas_clear 1510 us
[18:50:21.960]  scenc_draw 389 us
[18:50:21.960]  scenc_update 159 us
[18:50:21.960] weston weston_output_repaint[+]
[18:50:21.960] weston surface_flush_damage
[18:50:21.960]  weston surface_flush_damage
[18:50:21.961] weston surface_flush_damage
[18:50:21.961] weston surface_flush_damage
[18:50:21.969] weston weston_output_repaint[-]
[18:50:21.970] weston weston_output_finish_frame
[18:50:21.972] weston weston_surface_commit_state
[18:50:21.972] weston core_repaint_req
[18:50:21.972] canvas_update 12193 us
[18:50:21.972]  glmark2 draw 14443 us

網路文章#

Boosting Site Speed Using Brotli Compression
LinkedIn 使用Brotli 壓縮提高網頁的瀏覽速度, 並使用JavaScript檔案做了Brotli, Zopfli, and gzip演算法比較,
壓縮後的空間以gzip -6為基準Brotil -11結省30%, Brotli -5結省14%左右, Zopfli -1000結省約5%.
時間上gzip -6 壓縮169ms, 解壓35ms, Brotli -11 壓縮11913ms, 解壓22ms, Brotli壓縮時間花的較長, 但解壓及壓縮率完勝.
最終的A/B Test, 網頁在美國地區快了2~3.6%, 印度地區快了6~6.5%.
LinkedIn 計劃採用Dynamic Brotli 處理動態資料(Base HTML document, JSON API responses, etc.), 也需要改善gzip以配合不支援Brotli的Browser.
Browser support:

  • Chrome version 49
  • Firefox version 44
  • Microsoft Edge version 15
  • Opera version 36
  • Safari version 10

How to: Brotli compression with Nginx
ngx_http_gzip_module

網路資源#

WebPage Speed Analysis
網頁速度測試.

交大線上課程- 作業系統設計與實作(OSDI)

Week21 (05/26)#

Ubuntu系統在screen lock後要unlock有時會卡在黑畫面, 這是個頭痛的問題, 通常在是編Android時去lock然後unlock就回不來.
因為是偶爾發生, 之前都是reboot來解決, 發現這個問題存在很久, google到了一些相關的bug report, 看來暫時還是無解.
試過使用sudo service lightdm restart
black screen after longer screen lock
Can’t login after lock screen (black screen)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK