Data Plane unloading principle of virtio Network -- Vhost net master
Interface usage
libvirt
When configuring the virtio network card, libvirt enables this feature by specifying the driver as vhost, as follows:
<interface>
<model type='virtio'/>
<driver name='vhost'/>
......
</interface>
qemu
qemu designs vhost as an attribute of the network device. The virtio n ...
Posted by lazersam on Thu, 02 Dec 2021 22:48:28 -0800
How to write amazing Python classes
There are machine learning and data scientists around me. Python is their preferred language. However, not all of them are experienced Python developers, and they are unlikely to master all the excellent features provided by python. This is understandable, of course, but it is also unfortunate. Why? Because understanding the details of the lang ...
Posted by jax_15 on Thu, 02 Dec 2021 22:45:34 -0800
Self study linux driver from getting started to giving up the device tree
catalogue
1. What is a device tree?
2. Structure of equipment tree
3. Node structure
4. Node standard attributes
4.1 compatible
4.2 status
4.3 #address-cells #size-cells
4.4 reg
4.5 name
4.6 device_type
4.7 phandle
4.8 virtul-reg
4.9 range
4.10 dma-range
5. Special nodes
5.1 /aliases node
5.2 /chosen node
6."of_" cor ...
Posted by PaulRyan on Thu, 02 Dec 2021 22:39:33 -0800
Press ls -l *.py and enter. What does the shell do for us?
Have you ever wondered what the Unix shell does when you execute a command on the shell? How does the shell understand and interpret these commands? What do you do behind the screen? For example, what does the shell do when we execute ls -l *.py? With this understanding, we can better use the Unix operating system. Today we'll explore it.0. Wha ...
Posted by ccjob2 on Thu, 02 Dec 2021 22:35:39 -0800
Java must learn tool library to reduce your code by 90%
After working for many years, I found that there are many tool class libraries that can greatly simplify the amount of code and improve development efficiency, but junior developers don't know. These class libraries have long become the industry standard class libraries, and they are also used in large companies. If someone told me to use these ...
Posted by Scummy12 on Thu, 02 Dec 2021 22:30:39 -0800
[UE4 C + +] preliminary use of animation and behavior tree related modules
Animation asset UAnimationAsset
type hierarchy structure
UObjectBase
UObjectBaseUtility
UObject
UAnimationAsset
UAnimSequenceBase
UAnimCompositeBase
Animation Synthesis of UAnimComposite
UAnimMontage animation Montage
UAnimSequence animation sequence (note root motion)
UAnimStreamable
UBlendSpaceBase
UBlendSpace mixed space
UAimOf ...
Posted by gnathan87 on Thu, 02 Dec 2021 22:29:30 -0800
2020_ 883 C program design
1, Briefly answer the following questions1. Briefly describe the provisions of identifiers in C language; What should you pay attention to when naming variables, arrays, and functions?A: in the computer high-level language, the effective character sequences used to name variables, symbols, constant names, functions, arrays, types, etc. are coll ...
Posted by jasonyoung on Thu, 02 Dec 2021 22:26:30 -0800
Sorting through Lambda expressions
Data sorting in memory
First, we define a basic class, and then we will demonstrate how to sort in memory according to this basic class.
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
private String name;
private int age;
@Override
public boolean equals(Object o) {
if (this == o) {
...
Posted by binit on Thu, 02 Dec 2021 22:22:46 -0800
SPL (self paced learning for late variable models) code reproduction - pytorch version
Cause: I recently read articles related to CL(curriculum learning) and found SPL learning strategy. In short, it is to make the data learned by model from simple to easy. Reading articles related to SPL is bound to skip this article: Self-Paced Learning for Latent Variable Models
Difficulty: This article was written in 2010. The code based ...
Posted by tippy_102 on Thu, 02 Dec 2021 22:04:25 -0800
Performance test of order cancellation with 10s delay
I once naively thought that I was invincible in the performance test scenario, but the reality patted me again.The R & D put forward a pressure test requirement of canceling orders after a delay of 10s, which really confused me for a while. Finally, I referred to Java's delay queue java.util.concurrent.DelayQueue to realize this requirement ...
Posted by SN1P3R_85 on Thu, 02 Dec 2021 21:55:33 -0800