Suche senden
Hochladen
Java 与 CPU 高速缓存
•
6 gefällt mir
•
4,302 views
D
dennis zhuang
Folgen
介绍下 CPU 高速缓存和 Java 相关问题。
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 13
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Erlang scheduler
Erlang scheduler
dennis zhuang
Clojure 1.8 Direct-Linking WWH
Clojure 1.8 Direct-Linking WWH
dennis zhuang
QCon - 一次 Clojure Web 编程实战
QCon - 一次 Clojure Web 编程实战
dennis zhuang
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks
Phoenix demysitify, with fun
Phoenix demysitify, with fun
Tai An Su
Elixir
Elixir
Mohammed Cherif
Elixir introd
Elixir introd
dennis zhuang
Elixir Elevated: The Ups and Downs of OTP at ElixirConf2014
Elixir Elevated: The Ups and Downs of OTP at ElixirConf2014
Greg Vaughn
Empfohlen
Erlang scheduler
Erlang scheduler
dennis zhuang
Clojure 1.8 Direct-Linking WWH
Clojure 1.8 Direct-Linking WWH
dennis zhuang
QCon - 一次 Clojure Web 编程实战
QCon - 一次 Clojure Web 编程实战
dennis zhuang
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks Talk Tuesdays: Ray Zane 1/17/17 "Elixir Is Cool"
PromptWorks
Phoenix demysitify, with fun
Phoenix demysitify, with fun
Tai An Su
Elixir
Elixir
Mohammed Cherif
Elixir introd
Elixir introd
dennis zhuang
Elixir Elevated: The Ups and Downs of OTP at ElixirConf2014
Elixir Elevated: The Ups and Downs of OTP at ElixirConf2014
Greg Vaughn
Introducing Elixir the easy way
Introducing Elixir the easy way
Tobias Pfeiffer
Elixir & Phoenix – fast, concurrent and explicit
Elixir & Phoenix – fast, concurrent and explicit
Tobias Pfeiffer
Bottleneck in Elixir Application - Alexey Osipenko
Bottleneck in Elixir Application - Alexey Osipenko
Elixir Club
Elixir basics
Elixir basics
Ruben Amortegui
Learn Elixir at Manchester Lambda Lounge
Learn Elixir at Manchester Lambda Lounge
Chi-chi Ekweozor
Nintendo presentation 3.0
Nintendo presentation 3.0
Ignacio Continente
Elixir OTP
Elixir OTP
Oscar Javier Moreno Rey
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
Tim Y
End-to-end W3C APIs - tpac 2012
End-to-end W3C APIs - tpac 2012
Alexandre Morgaut
MongoDB开发应用实践
MongoDB开发应用实践
iammutex
视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)
Night Sailer
New hope is comming? Project Loom.pdf
New hope is comming? Project Loom.pdf
Krystian Zybała
In-browser storage and me
In-browser storage and me
Jason Casden
Gotszling mogo db-membase
Gotszling mogo db-membase
GiltTech
Scrabbly GTUG presentation
Scrabbly GTUG presentation
Grant Goodale
Node and Azure
Node and Azure
Jason Gerard
Ruby and Distributed Storage Systems
Ruby and Distributed Storage Systems
SATOSHI TAGOMORI
Node.JS and WebSockets with Faye
Node.JS and WebSockets with Faye
Matjaž Lipuš
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014
Colin Charles
Urbanesia - Development History
Urbanesia - Development History
Batista Harahap
Node.js Performance Case Study
Node.js Performance Case Study
Fabian Frank
Caching your rails application
Caching your rails application
ArrrrCamp
Weitere ähnliche Inhalte
Andere mochten auch
Introducing Elixir the easy way
Introducing Elixir the easy way
Tobias Pfeiffer
Elixir & Phoenix – fast, concurrent and explicit
Elixir & Phoenix – fast, concurrent and explicit
Tobias Pfeiffer
Bottleneck in Elixir Application - Alexey Osipenko
Bottleneck in Elixir Application - Alexey Osipenko
Elixir Club
Elixir basics
Elixir basics
Ruben Amortegui
Learn Elixir at Manchester Lambda Lounge
Learn Elixir at Manchester Lambda Lounge
Chi-chi Ekweozor
Nintendo presentation 3.0
Nintendo presentation 3.0
Ignacio Continente
Elixir OTP
Elixir OTP
Oscar Javier Moreno Rey
Andere mochten auch
(7)
Introducing Elixir the easy way
Introducing Elixir the easy way
Elixir & Phoenix – fast, concurrent and explicit
Elixir & Phoenix – fast, concurrent and explicit
Bottleneck in Elixir Application - Alexey Osipenko
Bottleneck in Elixir Application - Alexey Osipenko
Elixir basics
Elixir basics
Learn Elixir at Manchester Lambda Lounge
Learn Elixir at Manchester Lambda Lounge
Nintendo presentation 3.0
Nintendo presentation 3.0
Elixir OTP
Elixir OTP
Ähnlich wie Java 与 CPU 高速缓存
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
Tim Y
End-to-end W3C APIs - tpac 2012
End-to-end W3C APIs - tpac 2012
Alexandre Morgaut
MongoDB开发应用实践
MongoDB开发应用实践
iammutex
视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)
Night Sailer
New hope is comming? Project Loom.pdf
New hope is comming? Project Loom.pdf
Krystian Zybała
In-browser storage and me
In-browser storage and me
Jason Casden
Gotszling mogo db-membase
Gotszling mogo db-membase
GiltTech
Scrabbly GTUG presentation
Scrabbly GTUG presentation
Grant Goodale
Node and Azure
Node and Azure
Jason Gerard
Ruby and Distributed Storage Systems
Ruby and Distributed Storage Systems
SATOSHI TAGOMORI
Node.JS and WebSockets with Faye
Node.JS and WebSockets with Faye
Matjaž Lipuš
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014
Colin Charles
Urbanesia - Development History
Urbanesia - Development History
Batista Harahap
Node.js Performance Case Study
Node.js Performance Case Study
Fabian Frank
Caching your rails application
Caching your rails application
ArrrrCamp
Stupid Boot Tricks: using ipxe and chef to get to boot management bliss
Stupid Boot Tricks: using ipxe and chef to get to boot management bliss
macslide
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Alluxio, Inc.
End-to-end HTML5 APIs - The Geek Gathering 2013
End-to-end HTML5 APIs - The Geek Gathering 2013
Alexandre Morgaut
Memcached Code Camp 2009
Memcached Code Camp 2009
NorthScale
Java on Linux for devs and ops
Java on Linux for devs and ops
aragozin
Ähnlich wie Java 与 CPU 高速缓存
(20)
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
End-to-end W3C APIs - tpac 2012
End-to-end W3C APIs - tpac 2012
MongoDB开发应用实践
MongoDB开发应用实践
视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)
New hope is comming? Project Loom.pdf
New hope is comming? Project Loom.pdf
In-browser storage and me
In-browser storage and me
Gotszling mogo db-membase
Gotszling mogo db-membase
Scrabbly GTUG presentation
Scrabbly GTUG presentation
Node and Azure
Node and Azure
Ruby and Distributed Storage Systems
Ruby and Distributed Storage Systems
Node.JS and WebSockets with Faye
Node.JS and WebSockets with Faye
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014
Urbanesia - Development History
Urbanesia - Development History
Node.js Performance Case Study
Node.js Performance Case Study
Caching your rails application
Caching your rails application
Stupid Boot Tricks: using ipxe and chef to get to boot management bliss
Stupid Boot Tricks: using ipxe and chef to get to boot management bliss
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
Optimizing Latency-sensitive queries for Presto at Facebook: A Collaboration ...
End-to-end HTML5 APIs - The Geek Gathering 2013
End-to-end HTML5 APIs - The Geek Gathering 2013
Memcached Code Camp 2009
Memcached Code Camp 2009
Java on Linux for devs and ops
Java on Linux for devs and ops
Mehr von dennis zhuang
一个 Mongodb command 的前世今生
一个 Mongodb command 的前世今生
dennis zhuang
Mesos intro
Mesos intro
dennis zhuang
CQL 实现
CQL 实现
dennis zhuang
我在 Mac 上的常用开发工具
我在 Mac 上的常用开发工具
dennis zhuang
Hystrix 介绍
Hystrix 介绍
dennis zhuang
AVOSCloud简介——万象移动云平台
AVOSCloud简介——万象移动云平台
dennis zhuang
Avoscloud 2
Avoscloud 2
dennis zhuang
点评新架构
点评新架构
dennis zhuang
Clojure概览
Clojure概览
dennis zhuang
Ihome inaction 篇外篇之fp介绍
Ihome inaction 篇外篇之fp介绍
dennis zhuang
Nio trick and trap
Nio trick and trap
dennis zhuang
Aviator——轻量级表达式执行引擎
Aviator——轻量级表达式执行引擎
dennis zhuang
Clojure的魅力
Clojure的魅力
dennis zhuang
Erlang简介
Erlang简介
dennis zhuang
Java多线程常见陷阱
Java多线程常见陷阱
dennis zhuang
Mehr von dennis zhuang
(15)
一个 Mongodb command 的前世今生
一个 Mongodb command 的前世今生
Mesos intro
Mesos intro
CQL 实现
CQL 实现
我在 Mac 上的常用开发工具
我在 Mac 上的常用开发工具
Hystrix 介绍
Hystrix 介绍
AVOSCloud简介——万象移动云平台
AVOSCloud简介——万象移动云平台
Avoscloud 2
Avoscloud 2
点评新架构
点评新架构
Clojure概览
Clojure概览
Ihome inaction 篇外篇之fp介绍
Ihome inaction 篇外篇之fp介绍
Nio trick and trap
Nio trick and trap
Aviator——轻量级表达式执行引擎
Aviator——轻量级表达式执行引擎
Clojure的魅力
Clojure的魅力
Erlang简介
Erlang简介
Java多线程常见陷阱
Java多线程常见陷阱
Kürzlich hochgeladen
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Pixlogix Infotech
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
UK Journal
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
Boston Institute of Analytics
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Kürzlich hochgeladen
(20)
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Java 与 CPU 高速缓存
1.
Java CPU 2016.07.20
2.
• • • • •
3.
4.
• • Direct Mapping •
N-way Mapping • • LRU • RND • • write through • write back • CPU cache line • •
5.
Mac Cache • sudo
sysctl -a | grep cache
6.
7.
Cache Coherence • MESI
https://en.wikipedia.org/wiki/MESI_protocol • write back • • Cache line: dirty valid • Modified Cache • Exclusive Cache • Shared Cache • Invalid
8.
MESI RFO: Request For
Owner
9.
MESI • http://blog.csdn.net/muxiqingyang/article/details/6615199
10.
Java • • L1CacheMiss.java • duration
= 701358693 • duration = 10996917277
11.
Java • False Sharing
12.
False sharing • Java
8: • @sun.misc.Contended • -XX:-RestrictContended • FalseSharing.java • duration = 27174444875 • duration = 3928016195 • duration = 3926949331
13.
• https://en.wikipedia.org/wiki/CPU_cache • http://blog.csdn.net/robertsong2004/article/details/38340247 •
https://en.wikipedia.org/wiki/MESI_protocol • http://blog.csdn.net/realxie/article/details/7317630 • http://mechanical-sympathy.blogspot.jp/2011/07/false-sharing.html • http://coderplay.iteye.com/blog/1485760 • http://coderplay.iteye.com/blog/1486649 • http://psy-lob-saw.blogspot.jp/2013/05/know-thy-java-object-memory- layout.html
Jetzt herunterladen