关于OVH或SYS(soyoustart)能不能做邮件服务器问题

老早就想知道了,问了论坛没啥回应,今天就去翻了下sys的tos,其中 https://www.soyoustart.com/ie/termsofservice/version/Special_Conditions_for_So_You_Start_Dedicated_Server_2013-12-05.pdf 第七条就是关于邮件的,机翻如下 1 2 3 4 5 6 7 8 9 10 11 12 13 第7条:防止供应商网络发送垃圾邮件的措施供应商应实施技术措施体系,以防止从其基础设施中发送欺诈性电子邮件和垃圾邮件。 供应商应监视从服务器到互联网上端口25(SMTP服务器)的传出流量,这应包括通过自动工具监视流量。 供应商不得对流出的流量进行过滤或拦截,而应延迟几秒钟。 这些操作应由供应商在服务器和互联网之间并行进行。 对已发送的电子邮件不执行任何操作。 供应商不得对电子邮件进行任何标记,也不得以任何方式修改客户发送的电子邮件。 在供应商进行这些操作期间,除统计数据外,不得存储任何信息。 该操作应由供应商定期且以全自动方式进行,并且客户确认在监视端口25(SMTP端口)的流量期间不涉及人工干预。 如果来自客户服务器的外发流量(包括电子邮件)被识别为垃圾邮件或欺诈性电子邮件,则供应商应通过电子邮件通知客户并阻止服务器的SMTP端口。 即使服务器被识别为垃圾邮件,供应商也不应保留从服务器SMTP端口发送的电子邮件的任何副本。 客户必须通过“开始使用技术协助”请求解除SMTP端口的阻塞。 任何被识别为垃圾邮件的新电子邮件都将导致供应商较长时间重新封锁SMTP端口,具体取决于供应商的合理判断。 如果发生供应商第三次阻塞SMTP端口的情况,则供应商保留拒绝取消SMTP端口的任何新请求的权利。 大概意思是可以做邮件服务器,但是不得发送垃圾邮件,ovh不会保存邮件副本也不会标记,但是如果被程序识别到垃圾邮件会封禁25端口,需要工单解封,超过3次则永久关闭25端口。

2020年12月10日 · 1 分钟 · 浅忆

Angular9 HttpClient设置参数无效问题

初步学习Angular9,在httpclient模块栽了半天。根据官方文档设置ur居然是无效的,比如 1 2 let httpParams = new HttpParams().set('code', 'aaaa');//可以成功设置code httpParams.set('state', 'ccccc'); // 无法设置state 看了stackoverflow的回答后才知道 HttpParams旨在是不可变的。该set和append方法不修改现有的实例。相反,它们返回新实例并应用更改。 所以这里有两种方案: 1、使用 fromString 变量从查询字符串中直接创建 HTTP 参数 1 2 3 4 5 const data = { code: this.subInfo.code, state: this.subInfo.state }; const httpParams = new HttpParams({fromObject: data}); 2、直接传递对象而不是HttpParams 1 http.get(url, {params: data}) 所以直接是用方法2了~ 参考文章: https://stackoverflow.com/questions/45210406/angular-4-3-httpclient-set-params

2020年12月9日 · 1 分钟 · 浅忆

elasticsearch 使用BulkProcessor导入txt大文件

最近在学es,需要导入8亿条数据 手上有一个txt大约有8亿条数据的样子,文件有19G左右,一开始百度搜了下,基本都是重复文章,不过也根据写这些文章的大佬慢慢google到了一些方法。 先说下导入机器配置: cpu: E5 1620V2 内存: 32G(分给es 12G) 硬盘:4x2T raid 0(io大概在600左右) 导入的几种方法: 1、bulk: ES本地支持的批量导入方式,将json文件post到es进行处理。 将需要导入的数据先生成json文件,格式类似这种 1 2 3 4 5 6 7 8 9 #指定 index {"index":{"_index":"suoy","_id":1}} #字段 {"text_entry":"内容"} {"index":{"_index":"suoy","_id":1}} {"text_entry":"内容"} {"index":{"_index":"suoy","_id":1}} {"text_entry":"内容"} ........... 然后使用curl提交 1 curl -H 'Content-Type: application/x-ndjson' -XPOST '127.0.0.1:9200/xxxxxxxx/doc/_bulk?pretty' --data-binary @out.json 一开始我是尝试这种方法,用python将数据重新处理了下,生成的文件有48GB……,还花了3-5个小时的样子,导入的时候直接失败~后面,看了下说是文件大小尽量不能超过200MB???这样的话就要分割文件了,虽然可以shell脚本一个一个的提交小文件json,后面想想直接放弃了(嫌麻烦)……. 2、logstash: ES官方的另一个产品,将数据文本转换为ES的数据源。 我的文本一行只有两个字段,用 “—-” 分割,花了点时间学logstash直接上手开干,但是导入速度只有9000条/s的样子,一个小时导了大概3200w条数据,导了16个小时大概导了5.2亿条数据,这速度完全不行啊,后面手贱不注意按了 Ctrl+c,嗯…..这下好了,不知道怎么断点续传,又得重新来…… 我用的脚本如下,有懂的大佬能否告知下logstash有没有类似BulkProcessor储存到x条数据再执行Bulk的方法? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 input { # 从文件读取日志信息 file { path => "/data/sda3/k/log.txt" type => "text" start_position => "beginning" } } filter { mutate { split => ["message", "----"] } if [message][2] { mutate { add_field => { "title" => "%{[message][1]}" "log" => "%{[message][2]}" } } }else{ if [message][0] { mutate { add_field => { "title" => "%{[message][0]}" } } } if [message][1] { mutate { add_field => { "log" => "%{[message][1]}" } } } } } output { elasticsearch{ hosts => "127.0.0.1:9200" index => "logs" user => "elastic" #password => "xxx" #document_type => "_doc" } # 标准输出 #stdout { codec => rubydebug } } ...

2020年12月3日 · 3 分钟 · 浅忆

pve 安装ifupdown2

其实安装完pve后第一步就是移除企业订阅源,防止后面出现很多问题(由于企业仓库更新源需要购买订阅服务,所以我们需要手动修改到官方的非订阅源)。 由于proxmox VE 的 ifupdown2 到企业版里了,所以…… 删除原来的企业源 1 rm /etc/apt/sources.list.d/pve-enterprise.list 添加官方非订阅免费源 1 echo 'deb http://download.proxmox.com/debian/pve buster pve-no-subscription' >> /etc/apt/sources.list.d/pve-no-subscription.list 注意上边的buster,非其他教程中的stretch,是由于debian版本的问题,具体不解释 更新 1 apt update 安装ifupdown2 1 apt install ifupdown2 参考文章: https://www.d3tt.com/view/119

2020年10月8日 · 1 分钟 · 浅忆

踩坑 mybatis-plus Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table

1 2 3 4 5 6 7 8 org.springframework.jdbc.BadSqlGrammarException: ###Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorExceptin: Table ‘xxx.xxx’ doesn’t exist ###The error may exist in com/example/mapper/UserMapper.java (best guess) ###The error may involve defaultParameterMap ###The error occurred while setting parameters ###SQL: SELECT id,name,age,email FROM user ###Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘xxx.xxxr’ doesn’t exist ; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘xxx.xxx’ doesn’t exist 错误原因:原因实体类pojo名字和表名不一致!!mybatis-plus默认规则是实体类和表名以驼峰命名法映射,要求是需要符合这个规则才能执行成功。 所以需要在实体类上加@TableName(“表名”) 由于我使用的是官方的代码生成器,所以有这么一句 1 strategy.setTablePrefix(pc.getModuleName() + "_"); 在输入模块名的时候我输入的是 aaa.bbb.ccc这种格式,刚好和表名对应上,所以这里默认把aaa.bbb去掉了,刚好默认实体又没@TableName注解,导致找不到表名。 我在代码生成器中加入 ...

2020年9月30日 · 1 分钟 · 浅忆

git(github)删除误上传的敏感文件

FILEPATH 变量代表的是路径。 1 2 3 4 5 6 7 8 git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch FILEPATH' --prune-empty --tag-name-filter cat -- --all # 例子 git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch src/main/resources/application-dev.properties' --prune-empty --tag-name-filter cat -- --all git push origin master --force rm -rf .git/refs/original/ git reflog expire --expire=now --all git gc --prune=now git gc --aggressive --prune=now

2020年9月8日 · 1 分钟 · 浅忆

proxmox恢复vm(vma)到指定的存储

1 qmrestore ubuntu14.04.5-bak.vma.lzo 101 -storage local

2020年9月4日 · 1 分钟 · 浅忆

Office365邮局开启DKIM

注册完E5后可以绑定自己的域名作为邮局,但是只有默认的onmicrosoft.com域开启了DKIM,自己接入的域名并没有开启,所以这里按照官方文档开启DKIM以减少进垃圾邮箱的可能性。 2021-12-04 更新 有读者反馈 https://security.microsoft.com/dkimv2 网址已经可以直接开启DKIM了,我去试了下,点击开启会自动校验 CNAME 记录,自己复制值在dns那添加就可以了(如果不知道怎么添加,可以看第三步)。 以下文章仅作记录,直接通过上面的方法开启就可以了。 1、开启DKIM 首先进入到office365管理面板,点击左侧菜单栏的「全部显示」,然后点击「Exchange」,进入Exchange控制台。 这里会列出已接入域名,点击域名右侧会显示DKIM的状态,点击启用就好。 如果第一次接入会显示「没有为此域名保存DKIM签名 」,根据官方文档,可以通过Powershell方式来开启。 2、连接到 Exchange Online 这里的操作以管理员权限打开,需要注意的是,所有命令必须在同一个PowerShell下操作 。 下面命令中 为自己的域名 。 在本地计算机上,打开 Windows PowerShell 并运行以下命令。 1 $UserCredential = Get-Credential 在“Windows PowerShell 凭据请求”对话框中,键入工作或学校帐户用户名和密码,再单击“确定”。 运行以下命令连接到Exchange Online: 1 $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection 注意: 对于 Office 365 世纪互联运营,请使用 ConnectionUri 值:https://partner.outlook.cn/PowerShell 对于 Office 365 Germany,请使用 ConnectionUri 值:https://outlook.office.de/powershell-liveid/ 对于 Microsoft 365 GCC High,请使用 ConnectionUri 值:https://outlook.office365.us/powershell-liveid/ 对于 Microsoft 365 DoD,请使用 ConnectionUri 值:https://webmail.apps.mil/powershell-liveid 运行以下命令设置会话: 1 Import-PSSession $Session -DisableNameChecking ...

2020年8月16日 · 2 分钟 · 浅忆

nginx反代cloudflare出现502错误问题

如果是自己的域名在反代配置加上这2句就可以了。 1 2 proxy_ssl_name $host; proxy_ssl_server_name on; 我自己的配置是 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 location / { proxy_pass https://域名; #Proxy Settings proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_ssl_name $host; proxy_ssl_server_name on; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; # proxy_max_temp_file_size 0; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout 90; proxy_buffer_size 64k; proxy_buffers 32 32k; proxy_busy_buffers_size 128k; proxy_temp_file_write_size 64k; }

2020年8月16日 · 1 分钟 · 浅忆

esxi6.7 与 pve6 unixbench跑分对比

新建的虚拟机下同配置跑的分,均开启了host。配置为 8C8G50G。 ESXI6.7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 # # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # Version 5.1.3 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA January 13, 2011 johantheghost at yahoo period com Wide character in print at ./Run line 1511. Wide character in printf at ./Run line 1542. 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. 8 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 8 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 8 x Execl Throughput 1 2 3 8 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 8 x File Copy 256 bufsize 500 maxblocks 1 2 3 8 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 8 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 8 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 8 x Process Creation 1 2 3 8 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 8 x Shell Scripts (1 concurrent) 1 2 3 8 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: debian: GNU/Linux OS: GNU/Linux -- 4.19.0-5-amd64 -- #1 SMP Debian 4.19.37-5 (2019-06-19) Machine: x86_64 (unknown) Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") CPU 0: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 1: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 2: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 3: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 4: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 5: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 6: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization CPU 7: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization 01:35:22 up 1:33, 2 users, load average: 3.18, 3.77, 2.12; runlevel ------------------------------------------------------------------------ Benchmark Run: 一 8月 10 2020 01:35:22 - 02:02:31 8 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 37275700.7 lps (10.0 s, 7 samples) Double-Precision Whetstone 5654.1 MWIPS (6.2 s, 7 samples) Execl Throughput 4156.3 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 697111.7 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 187842.5 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2194571.2 KBps (30.0 s, 2 samples) Pipe Throughput 985672.0 lps (10.0 s, 7 samples) Pipe-based Context Switching 46277.6 lps (10.0 s, 7 samples) Process Creation 2855.4 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 4167.8 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1955.7 lpm (60.0 s, 2 samples) System Call Overhead 688554.4 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 37275700.7 3194.1 Double-Precision Whetstone 55.0 5654.1 1028.0 Execl Throughput 43.0 4156.3 966.6 File Copy 1024 bufsize 2000 maxblocks 3960.0 697111.7 1760.4 File Copy 256 bufsize 500 maxblocks 1655.0 187842.5 1135.0 File Copy 4096 bufsize 8000 maxblocks 5800.0 2194571.2 3783.7 Pipe Throughput 12440.0 985672.0 792.3 Pipe-based Context Switching 4000.0 46277.6 115.7 Process Creation 126.0 2855.4 226.6 Shell Scripts (1 concurrent) 42.4 4167.8 983.0 Shell Scripts (8 concurrent) 6.0 1955.7 3259.4 System Call Overhead 15000.0 688554.4 459.0 ======== System Benchmarks Index Score 974.5 ------------------------------------------------------------------------ Benchmark Run: 一 8月 10 2020 02:02:31 - 02:29:45 8 CPUs in system; running 8 parallel copies of tests Dhrystone 2 using register variables 272463301.5 lps (10.0 s, 7 samples) Double-Precision Whetstone 41703.8 MWIPS (6.5 s, 7 samples) Execl Throughput 23978.3 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 979782.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 263271.7 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 3177481.5 KBps (30.0 s, 2 samples) Pipe Throughput 7084002.7 lps (10.0 s, 7 samples) Pipe-based Context Switching 1632492.5 lps (10.0 s, 7 samples) Process Creation 43134.3 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 44920.5 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 6769.3 lpm (60.0 s, 2 samples) System Call Overhead 4393974.7 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 272463301.5 23347.3 Double-Precision Whetstone 55.0 41703.8 7582.5 Execl Throughput 43.0 23978.3 5576.3 File Copy 1024 bufsize 2000 maxblocks 3960.0 979782.2 2474.2 File Copy 256 bufsize 500 maxblocks 1655.0 263271.7 1590.8 File Copy 4096 bufsize 8000 maxblocks 5800.0 3177481.5 5478.4 Pipe Throughput 12440.0 7084002.7 5694.5 Pipe-based Context Switching 4000.0 1632492.5 4081.2 Process Creation 126.0 43134.3 3423.4 Shell Scripts (1 concurrent) 42.4 44920.5 10594.5 Shell Scripts (8 concurrent) 6.0 6769.3 11282.1 System Call Overhead 15000.0 4393974.7 2929.3 ======== System Benchmarks Index Score 5383.8 ======= Script description and score comparison completed! ======= PVE6.2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 make[1]: Leaving directory '/opt/unixbench/UnixBench' locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory sh: 1: 3dinfo: not found sh: 1: runlevel: not found # # # # # # # ##### ###### # # #### # # # # ## # # # # # # # ## # # # # # # # # # # # ## ##### ##### # # # # ###### # # # # # # ## # # # # # # # # # # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # Version 5.1.3 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA January 13, 2011 johantheghost at yahoo period com Wide character in print at ./Run line 1511. Wide character in printf at ./Run line 1542. 1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 1 x Execl Throughput 1 2 3 1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 1 x File Copy 256 bufsize 500 maxblocks 1 2 3 1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 1 x Process Creation 1 2 3 1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 1 x Shell Scripts (1 concurrent) 1 2 3 1 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. 8 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10 8 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10 8 x Execl Throughput 1 2 3 8 x File Copy 1024 bufsize 2000 maxblocks 1 2 3 8 x File Copy 256 bufsize 500 maxblocks 1 2 3 8 x File Copy 4096 bufsize 8000 maxblocks 1 2 3 8 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10 8 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10 8 x Process Creation 1 2 3 8 x System Call Overhead 1 2 3 4 5 6 7 8 9 10 8 x Shell Scripts (1 concurrent) 1 2 3 8 x Shell Scripts (8 concurrent) 1 2 3 Wide character in printf at ./Run line 1484. ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: debian: GNU/Linux OS: GNU/Linux -- 4.19.0-5-amd64 -- #1 SMP Debian 4.19.37-5 (2019-06-19) Machine: x86_64 (unknown) Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") CPU 0: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 4: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 5: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 6: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 7: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz (5000.0 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 11:14:36 up 3 min, 2 users, load average: 0.57, 0.19, 0.06; runlevel ------------------------------------------------------------------------ Benchmark Run: 二 8月 11 2020 11:14:36 - 11:42:00 8 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 38457773.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 5894.1 MWIPS (7.7 s, 7 samples) Execl Throughput 3653.5 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 594688.8 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 155116.1 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2093652.8 KBps (30.0 s, 2 samples) Pipe Throughput 840578.6 lps (10.0 s, 7 samples) Pipe-based Context Switching 69113.8 lps (10.0 s, 7 samples) Process Creation 2092.7 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 3592.3 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1596.2 lpm (60.0 s, 2 samples) System Call Overhead 661908.8 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 38457773.2 3295.4 Double-Precision Whetstone 55.0 5894.1 1071.7 Execl Throughput 43.0 3653.5 849.6 File Copy 1024 bufsize 2000 maxblocks 3960.0 594688.8 1501.7 File Copy 256 bufsize 500 maxblocks 1655.0 155116.1 937.3 File Copy 4096 bufsize 8000 maxblocks 5800.0 2093652.8 3609.7 Pipe Throughput 12440.0 840578.6 675.7 Pipe-based Context Switching 4000.0 69113.8 172.8 Process Creation 126.0 2092.7 166.1 Shell Scripts (1 concurrent) 42.4 3592.3 847.2 Shell Scripts (8 concurrent) 6.0 1596.2 2660.3 System Call Overhead 15000.0 661908.8 441.3 ======== System Benchmarks Index Score 903.0 ------------------------------------------------------------------------ Benchmark Run: 二 8月 11 2020 11:42:00 - 12:09:16 8 CPUs in system; running 8 parallel copies of tests Dhrystone 2 using register variables 279669766.0 lps (10.0 s, 7 samples) Double-Precision Whetstone 41943.0 MWIPS (6.3 s, 7 samples) Execl Throughput 18412.5 lps (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 488871.1 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 126347.3 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1596495.9 KBps (30.0 s, 2 samples) Pipe Throughput 6013413.0 lps (10.0 s, 7 samples) Pipe-based Context Switching 967469.4 lps (10.0 s, 7 samples) Process Creation 25260.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 37695.0 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 5645.7 lpm (60.0 s, 2 samples) System Call Overhead 3703628.1 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 279669766.0 23964.8 Double-Precision Whetstone 55.0 41943.0 7626.0 Execl Throughput 43.0 18412.5 4282.0 File Copy 1024 bufsize 2000 maxblocks 3960.0 488871.1 1234.5 File Copy 256 bufsize 500 maxblocks 1655.0 126347.3 763.4 File Copy 4096 bufsize 8000 maxblocks 5800.0 1596495.9 2752.6 Pipe Throughput 12440.0 6013413.0 4833.9 Pipe-based Context Switching 4000.0 967469.4 2418.7 Process Creation 126.0 25260.2 2004.8 Shell Scripts (1 concurrent) 42.4 37695.0 8890.3 Shell Scripts (8 concurrent) 6.0 5645.7 9409.4 System Call Overhead 15000.0 3703628.1 2469.1 ======== System Benchmarks Index Score 3825.7 ======= Script description and score comparison completed! ======= ...

2020年8月9日 · 21 分钟 · 浅忆