Article directory CPU Multi-Level Cache & Cache Coherence Protocol (MESI) CPU multi-level cache Cache Coherence Protocol (MESI) Cache line Four cache states cache line state transition Multi-core collaboration example Website experience MESI optimization and introduced issues Store Buffers & Invalidate Queue Problems caused by Store Bufferes & Invalidate Queue Hardware memory model Read Barrier & […]
Tag: mesi
How ARMv8 reads the MESI status and Tag information (tag RAM & dirty RAM) in the cache line and uses Cortex-A55 as an example
Cortex-A55 MESI status acquisition 1. System registers and read and write instructions 2. Acquisition of MESI information from Cortex-A55 Data cache (AARCH 64) 2.1 Write Set/way information into Data Cache Tag Read Operation Register 2.2 Read Data Register 1 and Data Register 0 data and decode Reference article: 1. System registers and read and write […]
Reprint Secure, HttpOnly, SameSite HTTP Cookies Attributes and Set-Cookie Explained
Original address: https://medium.com/swlh/secure-httponly-samesite-http-cookies-attributes-and-set-cookie-explained-fc3c753dfeb6 Cookies are the most common method to add temporary persistence to websites. They are used in most websites and we know their consent banners. HTTP Cookies can contain crucial and confidential data, their usage started around 1994 and some important legacy issue were left unaddressed and new state-of-art security improvements are being […]
Nemesis: A powerful network packet creation and data injection tool
About Nemesis Nemesis is a powerful network packet crafting and data injection tool designed to provide a command line-based portable artificial IP stack for UNIX and Windows systems. The suite is divided by protocol and allows researchers to make target network packets according to their needs, or inject other data into target packets through simple […]
CPU cache coherency protocol MESI
Original text: https://www.cnblogs.com/yanlong300/p/8986041.html The article comes from the Internet, and the copyright belongs to the original author. If there is any infringement, please contact to delete Cache Memory Why does the CPU have a cache CPU is developing at a rate of doubling every 18 months under the guidance of Moore’s Law, but the development […]
typeScript (hematemesis version)
typescript TypeScript overview Concept TypeScript is javascript with type syntax, a strongly typed programming language. TypeScript is an open source programming language developed by Microsoft, Type + JavaScript (type is type => based on JS, adds type support for JS), referred to as: TS**. ** // TS code // The variable age1 is strongly typed […]
Peel off the Allegro skill layer by layer–quickly capture and write into the Allegro software [creation of hematemesis, reproduced and marked]
Article directory foreword 1. Temporarily call skill 2. Allegro software calls skill from startup 3. The menu bar displays skill 4. The menu bar can be pulled down to display the skill set Summarize Foreword Allegro skill is a relatively mysterious existence for most engineers who often use Allegro to draw PCBs, but seeing someone […]
Topic on Concurrent Programming (3) CPU Cache Consistency Protocol MESI
1. CPU cache (Cache Memory) 1.1 Why does the CPU have a cache CPU is developing at a rate of doubling every 18 months under the guidance of Moore’s Law, but the development speed of memory and hard disk is far behind that of CPU. This has resulted in extremely expensive high-performance memory and hard […]
In the case of separate deployment of the front and back ends, the cookie invalidation problem is the SameSite problem of the chrome browser
Development environment (only describe what is involved): Front end: vue + axios Backend: maven + ssm Problems and solutions: The project is based on separate deployment of the front and back ends, which will involve cross-domain and session issues. The project uses cors to solve cross-domain issues, and uses redis to solve session inconsistencies. These […]
[Solved] Vulnerability solution caused by ultra-detailed cookie attributes HttpOnly and SameSite
Before going online, our project has been scanned for vulnerabilities, and the existing vulnerabilities have been modified according to the missed scan reports. Each scan has 2 missed scans on cookies (the vulnerability level is low). The vulnerability names are: Cookie No HttpOnly Flag and Cookie Without SameSite Attribute. Every time I missed the scan […]