性能优化工具

news2025/1/16 16:14:49
CPU 优化的各类工具

在这里插入图片描述

network
netperf

服务端:

$ netserver
Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC
$ cat netperf.sh 
#!/bin/bash
count=$1
for ((i=1;i<=count;i++))
do
    echo "Instance:$i-------"
    # 下方命令可以替换为测试场景表格中的命令
    # -H 后填写服务器 IP 地址;
    # -l 后为测试时间,为了防止 netperf 提前结束,因此时间设为 10000;
    netperf -t TCP_STREAM -H 172.17.48.107 -l 10000 -- -m 1500 -R 1 &
done

$ bash netperf.sh 20
Instance:1-------
Instance:2-------
Instance:3-------
Instance:4-------
Instance:5-------
Instance:6-------
Instance:7-------
Instance:8-------
Instance:9-------
Instance:10-------
Instance:11-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
Instance:12-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
Instance:13-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
Instance:14-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
Instance:15-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
Instance:16-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
Instance:17-------
Instance:18-------
Instance:19-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
Instance:20-------
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
[root]$ MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.17.48.107 () port 0 AF_INET

在这里插入图片描述

iperf

基本使用用法

$ iperf -h
Usage: iperf [-s|-c host] [options]
       iperf [-h|--help] [-v|--version]

Client/Server:
  -b, --bandwidth #[kmgKMG | pps]  bandwidth to send at in bits/sec or packets per second
  -e, --enhancedreports    use enhanced reporting giving more tcp/udp and traffic information
  -f, --format    [kmgKMG]   format to report: Kbits, Mbits, KBytes, MBytes
  -i, --interval  #        seconds between periodic bandwidth reports
  -l, --len       #[kmKM]    length of buffer in bytes to read or write (Defaults: TCP=128K, v4 UDP=1470, v6 UDP=1450)
  -m, --print_mss          print TCP maximum segment size (MTU - TCP/IP header)
  -o, --output    <filename> output the report or error message to this specified file
  -p, --port      #        server port to listen on/connect to
  -u, --udp                use UDP rather than TCP
      --udp-counters-64bit use 64 bit sequence numbers with UDP
  -w, --window    #[KM]    TCP window size (socket buffer size)
  -z, --realtime           request realtime scheduler
  -B, --bind <host>[:<port>][%<dev>] bind to <host>, ip addr (including multicast address) and optional port and device
  -C, --compatibility      for use with older versions does not sent extra msgs
  -M, --mss       #        set TCP maximum segment size (MTU - 40 bytes)
  -N, --nodelay            set TCP no delay, disabling Nagle's Algorithm
  -S, --tos       #        set the socket's IP_TOS (byte) field

Server specific:
  -s, --server             run in server mode
  -t, --time      #        time in seconds to listen for new connections as well as to receive traffic (default not set)
      --udp-histogram #,#  enable UDP latency histogram(s) with bin width and count, e.g. 1,1000=1(ms),1000(bins)
  -B, --bind <ip>[%<dev>]  bind to multicast address and optional device
  -H, --ssm-host <ip>      set the SSM source, use with -B for (S,G) 
  -U, --single_udp         run in single threaded UDP mode
  -D, --daemon             run the server as a daemon
  -V, --ipv6_domain        Enable IPv6 reception by setting the domain and socket to AF_INET6 (Can receive on both IPv4 and IPv6)

Client specific:
  -c, --client    <host>   run in client mode, connecting to <host>
  -d, --dualtest           Do a bidirectional test simultaneously
      --ipg                set the the interpacket gap (milliseconds) for packets within an isochronous frame
      --isochronous <frames-per-second>:<mean>,<stddev> send traffic in bursts (frames - emulate video traffic)
  -n, --num       #[kmgKMG]    number of bytes to transmit (instead of -t)
  -r, --tradeoff           Do a bidirectional test individually
  -t, --time      #        time in seconds to transmit for (default 10 secs)
  -B, --bind [<ip> | <ip:port>] bind ip (and optional port) from which to source traffic
  -F, --fileinput <name>   input the data to be transmitted from a file
  -I, --stdin              input the data to be transmitted from stdin
  -L, --listenport #       port to receive bidirectional tests back on
  -P, --parallel  #        number of parallel client threads to run
  -R, --reverse            reverse the test (client receives, server sends)
  -T, --ttl       #        time-to-live, for multicast (default 1)
  -V, --ipv6_domain        Set the domain to IPv6 (send packets over IPv6)
  -X, --peer-detect        perform server version detection and version exchange
  -Z, --linux-congestion <algo>  set TCP congestion control algorithm (Linux only)

Miscellaneous:
  -x, --reportexclude [CDMSV]   exclude C(connection) D(data) M(multicast) S(settings) V(server) reports
  -y, --reportstyle C      report as a Comma-Separated Values
  -h, --help               print this message and quit
  -v, --version            print version information and quit

[kmgKMG] Indicates options that support a k,m,g,K,M or G suffix
Lowercase format characters are 10^3 based and uppercase are 2^n based
(e.g. 1k = 1000, 1K = 1024, 1m = 1,000,000 and 1M = 1,048,576)

The TCP window size option can be set by the environment variable
TCP_WINDOW_SIZE. Most other options can be set by an environment variable
IPERF_<long option name>, such as IPERF_BANDWIDTH.

iperf 服务端:

$ iperf -s -i 1 -p 3389
------------------------------------------------------------
Server listening on TCP port 3389
TCP window size:  128 KByte (default)
------------------------------------------------------------

客户端:

$ cat iperf.sh 
#!/bin/bash
count=$1
for ((i=1;i<=count;i++))
do
    echo "Instance:$i-------"
    iperf -c 172.17.48.107 -p 3389 -i 1 &
done

客户端执行:

$ bash  iperf.sh 10
Instance:1-------
Instance:2-------
Instance:3-------
Instance:4-------
Instance:5-------
Instance:6-------
Instance:7-------
Instance:8-------
Instance:9-------
Instance:10-------
[root@core_172.17.48.52 ~]$ ------------------------------------------------------------
Client connecting to 172.17.48.107, TCP port 3389
TCP window size:  198 KByte (default)
------------------------------------------------------------
[  3] local 172.17.48.52 port 52312 connected with 172.17.48.107 port 3389
------------------------------------------------------------
Client connecting to 172.17.48.107, TCP port 3389
------------------------------------------------------------
TCP window size:  194 KByte (default)
------------------------------------------------------------
Client connecting to 172.17.48.107, TCP port 3389
[  3] local 172.17.48.52 port 52316 connected with 172.17.48.107 port 3389
TCP window size:  400 KByte (default)

服务端反馈:

[ 10]  9.0-10.0 sec   377 MBytes  3.16 Gbits/sec
[ 10]  0.0-10.0 sec  2.36 GBytes  2.02 Gbits/sec
[  8]  9.0-10.0 sec   191 MBytes  1.60 Gbits/sec
[ 12]  9.0-10.0 sec   337 MBytes  2.83 Gbits/sec
[ 11]  9.0-10.0 sec   259 MBytes  2.17 Gbits/sec
[ 13]  9.0-10.0 sec   190 MBytes  1.60 Gbits/sec
[SUM]  9.0-10.0 sec  2.71 GBytes  23.3 Gbits/sec
[  7]  0.0-10.0 sec  2.41 GBytes  2.07 Gbits/sec
[  5]  0.0-10.0 sec  2.43 GBytes  2.08 Gbits/sec
[  4]  0.0-10.0 sec  1.81 GBytes  1.55 Gbits/sec
[  9]  0.0-10.0 sec  5.17 GBytes  4.44 Gbits/sec
[  6]  0.0-10.0 sec  2.70 GBytes  2.32 Gbits/sec
[  8]  0.0-10.0 sec  3.24 GBytes  2.78 Gbits/sec
[ 12]  0.0-10.0 sec  2.76 GBytes  2.37 Gbits/sec
[ 11]  0.0-10.0 sec  2.15 GBytes  1.85 Gbits/sec
[ 13]  0.0-10.0 sec  1.96 GBytes  1.68 Gbits/sec
[SUM]  0.0-10.0 sec  27.0 GBytes  23.1 Gbits/sec

或者客户端无需脚本, 直接使用 -P 并发参数

$ iperf  -c 172.17.48.107 -p 3389 -i 1  -t 1200 -P 10
------------------------------------------------------------
Client connecting to 172.17.48.107, TCP port 3389
TCP window size:  234 KByte (default)
------------------------------------------------------------
[ 13] local 172.17.48.52 port 35696 connected with 172.17.48.107 port 3389
[  3] local 172.17.48.52 port 35678 connected with 172.17.48.107 port 3389
[  4] local 172.17.48.52 port 35680 connected with 172.17.48.107 port 3389
[  5] local 172.17.48.52 port 35682 connected with 172.17.48.107 port 3389
[  6] local 172.17.48.52 port 35684 connected with 172.17.48.107 port 3389
[  7] local 172.17.48.52 port 35686 connected with 172.17.48.107 port 3389
[  8] local 172.17.48.52 port 35688 connected with 172.17.48.107 port 3389
[ 11] local 172.17.48.52 port 35690 connected with 172.17.48.107 port 3389
[  9] local 172.17.48.52 port 35692 connected with 172.17.48.107 port 3389
[ 12] local 172.17.48.52 port 35694 connected with 172.17.48.107 port 3389
[ ID] Interval       Transfer     Bandwidth
[ 13]  0.0- 1.0 sec   184 MBytes  1.54 Gbits/sec
[  3]  0.0- 1.0 sec   177 MBytes  1.48 Gbits/sec
[  4]  0.0- 1.0 sec   175 MBytes  1.47 Gbits/sec
[  5]  0.0- 1.0 sec   383 MBytes  3.21 Gbits/sec
[  6]  0.0- 1.0 sec   255 MBytes  2.14 Gbits/sec
[  7]  0.0- 1.0 sec   233 MBytes  1.95 Gbits/sec
[  8]  0.0- 1.0 sec   714 MBytes  5.99 Gbits/sec
[ 11]  0.0- 1.0 sec   229 MBytes  1.92 Gbits/sec
[  9]  0.0- 1.0 sec   224 MBytes  1.88 Gbits/sec
[ 12]  0.0- 1.0 sec   161 MBytes  1.35 Gbits/sec
[SUM]  0.0- 1.0 sec  2.67 GBytes  22.9 Gbits/sec
[ 13]  1.0- 2.0 sec   145 MBytes  1.22 Gbits/sec
[  3]  1.0- 2.0 sec   176 MBytes  1.48 Gbits/sec
[  4]  1.0- 2.0 sec   225 MBytes  1.89 Gbits/sec
[  5]  1.0- 2.0 sec   425 MBytes  3.56 Gbits/sec
[  6]  1.0- 2.0 sec   287 MBytes  2.41 Gbits/sec
[  7]  1.0- 2.0 sec   237 MBytes  1.99 Gbits/sec
[  8]  1.0- 2.0 sec   577 MBytes  4.84 Gbits/sec
[ 11]  1.0- 2.0 sec   249 MBytes  2.09 Gbits/sec
[  9]  1.0- 2.0 sec   247 MBytes  2.07 Gbits/sec
[ 12]  1.0- 2.0 sec   206 MBytes  1.73 Gbits/sec
[SUM]  1.0- 2.0 sec  2.71 GBytes  23.3 Gbits/se
iperf3

服务端

$ cat server.sh 
for x in `seq 3400 3419`;do  iperf3 -s -i 1 -p $x &  done
$ bash server.sh 
-----------------------------------------------------------
Server listening on 3400
-----------------------------------------------------------
-----------------------------------------------------------
Server listening on 3401
-----------------------------------------------------------
-----------------------------------------------------------
Server listening on 3402
-----------------------------------------------------------
-----------------------------------------------------------
Server listening on 3403
-----------------------------------------------------------
-----------------------------------------------------------
Server listening on 3404
-----------------------------------------------------------
-----------------------------------------------------------
Server listening on 3405
-----------------------------------------------------------
-----------------------------------------------------------
Server listening on 3406
-----------------------------------------------------------

客户端

$ cat iperf3client.sh 

for x in `seq 3400 3409`;do iperf3   -c 172.17.48.107 -p $x -i 1  -t 1200 -P 10  &  done
- - - - - - - - - - - - - - - - - - - - - - - - -
[ 12] 120.00-121.00 sec  31.1 MBytes   261 Mbits/sec   45   41.7 KBytes       
[ ID] Interval           Transfer     Bandwidth       Retr
[  8] 120.00-121.00 sec  25.0 MBytes   210 Mbits/sec   22   61.2 KBytes       
[ 10] 120.00-121.00 sec  27.7 MBytes   233 Mbits/sec   69   79.3 KBytes       
[ 10] 120.00-121.00 sec  28.1 MBytes   235 Mbits/sec   73   77.9 KBytes       
[  6] 120.00-121.00 sec  29.4 MBytes   247 Mbits/sec   96   65.4 KBytes       
[  8] 120.00-121.00 sec  19.8 MBytes   166 Mbits/sec   40    106 KBytes       
[ 12] 120.00-121.00 sec  35.4 MBytes   297 Mbits/sec   15    154 KBytes       
[ 12] 120.00-121.00 sec  24.7 MBytes   207 Mbits/sec   58   55.6 KBytes       
[ 12] 120.00-121.00 sec  31.8 MBytes   267 Mbits/sec   73   82.0 KBytes       
[ 14] 120.00-121.00 sec  27.0 MBytes   227 Mbits/sec   19   93.2 KBytes       
[ 14] 120.00-121.00 sec  23.6 MBytes   198 Mbits/sec   31   89.0 KBytes       

sar 检测

$ sar -n DEV 1
Linux 5.4.119-19.0009.40 (172.17.48.107)        04/16/2024      _x86_64_        (64 CPU)

11:54:47 AM     IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s
11:54:48 AM        lo      2.00      2.00      0.08      0.08      0.00      0.00      0.00
11:54:48 AM      eth0 2043634.00 158143.00 2949569.21   8463.96      0.00      0.00      0.00

11:54:48 AM     IFACE   rxpck/s   txpck/s    rxkB/s    txkB/s   rxcmp/s   txcmp/s  rxmcst/s
11:54:49 AM        lo   3708.00   3708.00   1232.12   1232.12      0.00      0.00      0.00
11:54:49 AM      eth0 2042823.00 159044.00 2948059.12   8619.72      0.00      0.00      0.00

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1608569.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Java项目引入log4j2

log4j2 单独使用 引入依赖 <dependencies><dependency><groupId>org.apache.logging.log4j</groupId><artifactId>log4j-api</artifactId><version>2.14.0</version></dependency><dependency><groupId>o…

逆滤波器的推导与实现

设滤波器为&#xff0c;逆滤波器为 根据滤波器和逆滤波器的定义 对上式做傅里叶变换 对上式做逆傅里叶变换可得&#xff0c; 好了&#xff0c;逆滤波器的公式推导完了&#xff0c;但是实际计算时大多数时候这样是算不出来的&#xff0c;除非像扫频或粉噪这样的全频带信号才行&…

交流电转直流电5V500mA恒压芯片WT5104

交流电转直流电5V500mA恒压芯片WT5104 WT5104恒压芯片&#xff0c;是一种将交流电转换为直流电的设备。它的工作原理是通过内部的电路设计&#xff0c;将输入的交流电进行整流、滤波后&#xff0c;输出稳定的直流电。这款芯片最大的特点就是能够提供恒定的电压和电流&#xff…

鸿蒙 UI预览报错

SyntaxError: Unexpected end of JSON input 删除entry下的.preview文件 重新刷新预览

Ubuntu上阅读Android源码工具

由于Android源码过于庞杂&#xff0c;里面有多种语言源文件&#xff0c;想只用一IDE统一索引是不现实的。我个人便使用AS阅读JAVA代码&#xff0c;VS看C/C代码&#xff0c;在Ubuntu上不能使用SI&#xff0c;所以直接放弃。在framework开发这个层面上来讲&#xff0c;因为大部分…

C++:Hash应用【位图与布隆过滤器】

什么是位图&#xff1f; 我们先来看一个问题&#xff1a; 给40亿个不重复的无符号整数&#xff0c;没排过序。给一个无符号整数&#xff0c;如何快速判断一个数是否在 这40亿个数中。【腾讯】 如果我们使用unordered_set容器来解决&#xff0c;40亿个数据&#xff0c;每个数据…

CorelDRAW2024平面设计软件主要功能讲解

CorelDRAW是加拿大Corel公司出品的平面设计软件&#xff0c;也是一款功能强大的矢量图形制作和排版软件&#xff0c;主要面向绘图设计师和印刷输出人员。该软件提供了矢量动画、页面设计、网站制作、位图编辑和网页动画等多种功能。 CorelDRAW软件的主要用途是创建和编辑矢量图…

【Linux学习笔记】安卓设置内核信息的打印级别

开发环境 开发板&#xff1a;正点原子RK3568开发板安卓版本&#xff1a;11 问题描述 在串口调试过程中经常打印出这样的一些信息 极影响调试&#xff0c;暂时又没什么用&#xff0c;有些时候还不能给它直接关了。尤其是这个信息 healthd: battery l50 v3 t2.6 h2 st3 fc10…

mysql 重复单号 统计

任务&#xff1a; 增加重复件统计分析&#xff1a; 统计展示选择时间范围内重复1次、重复2次、重复3次、重复4次、重复5次及以上的数据量 17、统计出现的重复次数 增加重复件统计分析&#xff1a; 统计展示选择时间范围内重复1次、重复2次、重复3次、重复4次、重复5次及以上的数…

关于图像YUV格式分类和排布方式的全学习

【学习笔记】关于图像YUV格式分类和排布方式的全学习_yuv图像-CSDN博客 下图是将多个yuv420p图像(A和B)&#xff0c;拼接成一个画面的思路 A大小:416*64 B大小:416*208 将A和B合并到一个416*416的尺寸上&#xff0c;代码如下 //整合char * ptd;ptd (char * ) malloc (416*41…

Codeforces Round 939 (Div. 2)(A,B,C,D,E1,E2)

题目链接 这场不太难&#xff0c;打起来跟 d i v 3 div\ 3 div 3 一样&#xff0c;会者不难。AB找规律&#xff0c;CD构造&#xff0c;E是暴力&#xff0c;带点数学推理。 A. Nene’s Game 题意&#xff1a; 尼尼发明了一种基于整数递增序列 a 1 , a 2 , … , a k a_1, a_…

电大搜题微信公众号:重庆开放大学学子的学习利器

在当今信息化时代&#xff0c;学习已经成为每个人不可或缺的一部分。然而&#xff0c;对于重庆开放大学的学子们来说&#xff0c;由于远程教育的特殊性&#xff0c;他们面临着更大的学习挑战。幸运的是&#xff0c;他们现在可以依靠一款强大的学习利器——电大搜题微信公众号&a…

windows 11 打包python镜像相关操作

第一步&#xff1a;Docker下载 首先先到Docker官网下载最新官方Docker for Windows链接&#xff0c;点击下载之后进行安装&#xff0c;安装好之后在cmd执行 wsl --update。 第二步&#xff1a;在电脑上打开“控制面板”->“程序”-> “启动或关闭Windows功能”。 有的…

简单工厂模式设计实验

实验内容&#xff1a; 楚锋软件公司欲基于Java 语言开发一套图表库&#xff0c;该图表库可以为应用系统提供各种不同外观的图表&#xff0c;例如柱状图、饼状图、折线图等。楚锋软件公司图表库设计人员希望为应用系统开发人员提供一套灵活易用的图表库&#xff0c;而且可以较为…

CalcPad(2) 单位设置和绘制图表

CalcPad(2) 单位设置和绘制图表 Hi uu们&#xff0c;CalcPad用的还好吗&#xff1f;有发现一些问题吗&#xff1f; 在我的使用中&#xff0c;经常需要指定一些计算结果的符号&#xff0c;比如说我希望ADC最小分辨率的计算结果是以uV展示&#xff0c;那我们该怎么操作呢&#…

Aurora 协议学习理解与应用——Aurora 8B10B协议学习

提示&#xff1a;文章写完后&#xff0c;目录可以自动生成&#xff0c;如何生成可参考右边的帮助文档 Aurora 8B10B协议学习之一&#xff0c;理解协议 概述8B10B数据发送和接收Symbol-Pairs传输调度用户PDU传输过程用户PDU接收过程 流控自然流量控制操作自然流量控制延迟自然流…

【复习笔记】reeRTOS(七) 二值信号量和计数信号量

本文是FreeRTOS复习笔记的第七节&#xff0c;信号量。 上一篇文章&#xff1a; 【复习笔记】FreeRTOS(六) 队列操作 文章目录 一、信号量分类二、二值信号量2.1.实验设计2.2.测试例程2.3.实验效果 三、计数信号量3.1.实验设计3.2.测试例程3.3.实验效果 一、信号量分类 信号量是…

每日算法练习(1)

开一个新坑&#xff0c;记录下自己每天的算法练习&#xff0c;希望自己通过1个多月的学习&#xff0c;能够成为算法大神。 下面正式开始新坑。 两个数组的交集 这是牛客上的题&#xff0c;根据题意&#xff0c;我们有多种解法&#xff0c;这题用哈希比较好写。我们可以弄一个…

(保姆级教学)跨站请求伪造漏洞

1. CSRF漏洞 CSRF&#xff08;Cross-site request forgery&#xff09;跨站请求伪造&#xff0c;也被称为One Click Attack 或者Session Riding&#xff0c;通常缩写为CSRF或者XSRF&#xff0c;是一种对网站的恶意利用。尽管听起来像跨站脚本&#xff08;XSS&#xff09;&…

Linux内核启动过程图解(全程高能)

文章目录 1、进入第一条指令 _text2、start_kernel3、总结(内核启动流程描述) 1、进入第一条指令 _text 编译内核后&#xff0c;打开System.map文件&#xff0c;找到对应的_text和start_kernel ffffff8008080000 T _text //第一条指令 ffffff80096007f4 T start_kernel //…