Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the changes in the read and write speed of the hard disk under CentOS

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "what are the changes in the read and write speed of the hard disk under CentOS". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

An accidental opportunity to install DB database, found that the installation is very slow, so the system engineer suggested that I test the hard disk read and write speed, found that the read and write speed is only about 200

The machine is dellR710 memory 12GB and the operating system is centos 6 64 bit.

Later, centos 5.764 bit was reinstalled.

Nothing else has been changed.

The test speed is as follows (3 times):

R710 CENTOS 5.764-bit (12g memory)

[root@localhost data] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.30085 seconds, 825 MB/s

[root@localhost data] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.39172 seconds, 772MB/s

[root@localhost data] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.26415 seconds, 849 MB/s

Other machine testing (machine configuration later)

So on the other 710, the centos5.4 32-bit on the same configuration: (12GB memory)

[root@db1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1GB) copied, 3.04131 seconds, 353MB/s

[root@db1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 2.23476 seconds, 480 MB/s

[root@db1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.45485 seconds, 738 MB/s

[root@db1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.30145 seconds, 825 MB/s

[root@db1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.3871 seconds, 774 MB/s

Cache R610 centos 6.064-bit: (16G memory)

[root@cache ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 7.08763 seconds, 151MB/ seconds

[root@cache ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1. 1 GB) replicated, 8.12101 seconds, 132 MB/ seconds

[root@cache ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 6.66439 seconds, 161MB/ seconds

[root@cache ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 7.80735 seconds, 138MB/ seconds

[root@cache ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 7.87918 seconds, 136 MB/ seconds

WEB1 R610 CENTOS 6 64 (8G memory)

[root@web1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 6.15494 seconds, 174MB/ seconds

[root@web1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 5.95299 seconds, 180 MB/ seconds

[root@web1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 5.7888 seconds, 185 MB/ seconds

LVS R610 CENTOS 5.432-bit configuration is exactly the same as WEB1 (8G memory)

[root@lb1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 3.34055 seconds, 321 MB/s

[root@lb1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 5.97799 seconds, 180 MB/s

[root@lb1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.60396 seconds, 669 MB/s

[root@lb1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1GB) copied, 1.59689 seconds, 672MB/s

[root@lb1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 2.81365 seconds, 382MB/s

The 64-bit speed of 6.0 is significantly lower than that of 5.7 64-bit.

Since the 64 bits of 710 have been deleted, there is no data, but at that time, basically no more than 250.

Is this difficult for the 6.064 BUG? Or what, to be confirmed later, it seems that the system will have to be replaced with 5.

In addition, two R310 tests with the same configuration (except memory):

Configuration pairs are much lower than 710 and 610:

CENTOS 5.432-bit 12G memory

[root@beta1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.14459 seconds, 938 MB/s

[root@beta1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.15009 seconds, 934 MB/s

[root@beta1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.14913 seconds, 934 MB/s

[root@beta1 ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 1.14882 seconds, 935 MB/s

CENTOS 6 64-bit, 4G memory

[root@admin ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 5.16662 seconds, 208 MB/ seconds

[root@admin ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 10.1894 seconds, 105 MB/ seconds

[root@admin ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 10.1708 seconds, 106 MB/ seconds

[root@admin ~] # dd if=/dev/zero of=/data/test bs=1M count=1024

10240readings were recorded.

Recorded the write-out of 10240.

1073741824 bytes (1.1 GB) replicated, 10.3586 seconds, 104 MB/ seconds

This is the end of the content of "what are the changes in the read and write speed of the hard disk under CentOS"? thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report