免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: cccdbmw
打印 上一主题 下一主题

[服务应用] linux操作系统总是一卡一卡的 [复制链接]

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
11 [报告]
发表于 2013-03-14 16:59 |只看该作者
对了,你把linux上ifconfig网卡的结果贴一下.

论坛徽章:
0
12 [报告]
发表于 2013-03-14 17:34 |只看该作者
data主要存放oracle数据文件,日志文件,控制文件和各种备份文件,性能没有测试过,1T分区是不是太大了,会不会导致寻址太慢,不过性能工具看过,1T分区读写是最多的


   

论坛徽章:
0
13 [报告]
发表于 2013-03-14 17:41 |只看该作者
都是虚拟的网卡

eth0      Link encap:Ethernet  HWaddr 00:50:56:01:00:AA  
          inet addr:172.16.34.114  Bcast:172.16.34.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe01:aa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:141135568 errors:0 dropped:0 overruns:0 frame:0
          TX packets:144621589 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:23947393426 (22.3 GiB)  TX bytes:46131999771 (42.9 GiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1797747 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1797747 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:356941591 (340.4 MiB)  TX bytes:356941591 (340.4 MiB)



   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
14 [报告]
发表于 2013-03-14 18:19 |只看该作者
网卡没看出来有什么问题.
我觉得可能和你的那个分区有关系,你用vmstate检查下系统的性能,另外,最好再测试下你的那个新盘的读写性能.

论坛徽章:
0
15 [报告]
发表于 2013-03-14 18:37 |只看该作者
vmstat 2 20
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
0  0 4911888 12821760 299424 9597776    1    3    42    64    7   20  2  1 97  1  0
0  0 4911888 12817288 299440 9597672    0    0    28   216 1975 1489  2  1 96  1  0
1  0 4911888 12817272 299456 9597848    0    0     0   136 1949 1391  1  1 99  0  0
1  0 4911888 12817148 299460 9597860    0    0     0   362 2135 1757  1  1 98  0  0
2  0 4911868 12815032 299468 9597880   20    0    20  1312 2376 2326  4  4 91  1  0
0  0 4911868 12816032 299476 9597888    0    0     0  1516 2341 2443  4  3 93  1  0
92  0 4911116 12816048 299504 9598464  416    0   416   304 2632 2468  1  0 96  3  0
1  0 4910876 12805724 299512 9598684  128    0   128   744 2008 1664  3  1 95  1  0
0  0 4910836 12806636 299516 9599220   44    0   140  1002 1975 1653  3  1 96  0  0
8  0 4910836 12806512 299524 9599224    0    0     0    30 1966 1402  1  1 99  0  0
0  0 4910836 12806272 299532 9599128    0    0     0   152 1966 1384  1  1 98  0  0
0  0 4910744 12806148 299544 9599248   48    0    48   504 2045 1556  1  1 98  0  0
0  0 4910744 12806156 299544 9599248    0    0     0    26 1973 1430  1  1 98  0  0
1  0 4910744 12806148 299548 9599244    0    0     0    98 1998 1435  2  1 97  0  0
0  0 4910744 12801660 299556 9599244    0    0     0    88 1951 1475  2  1 97  0  0
1  0 4910744 12806404 299556 9599244    0    0     0     0 2014 1486  1  1 98  0  0
0  0 4910744 12810380 299572 9599236    0    0     0   166 1977 1409  1  0 99  0  0
1  0 4910744 12810380 299588 9599244    0    0     0   232 1990 1485  1  1 98  0  0
2  0 4910744 12810380 299588 9599244    0    0     0     8 1991 1455  2  1 97  0  0
0  0 4910744 12810380 299604 9599232    0    0     0   748 2233 2042  1  1 97  1  0

1T分区的读写性能咋测

   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
16 [报告]
发表于 2013-03-14 18:44 |只看该作者
用dd往那个分区写一个文件,最好大点的,网上有做swapfile的文档,你照着做一下,看看.

论坛徽章:
0
17 [报告]
发表于 2013-03-14 19:22 |只看该作者
time dd if=/dev/zero of=/data/test bs=8k count=300000
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB) copied, 5.36915 seconds, 458 MB/s

real    0m5.407s
user    0m0.069s
sys     0m5.188s



time dd if=/data/test of=/dev/null bs=8k
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB) copied, 1.37094 seconds, 1.8 GB/s

real    0m1.373s
user    0m0.027s
sys     0m1.345s


hdparm -tT /dev/sdc

/dev/sdc:
Timing cached reads:   14708 MB in  2.00 seconds = 7359.39 MB/sec
Timing buffered disk reads:  646 MB in  3.00 seconds = 215.03 MB/sec
   你看看咋样,dd测试的文件有点小了

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
18 [报告]
发表于 2013-03-14 19:40 |只看该作者
硬盘速度没看出来有问题.你那台测试服务器同样做dd,看看速度是多少

论坛徽章:
0
19 [报告]
发表于 2013-03-14 19:50 |只看该作者
本帖最后由 cccdbmw 于 2013-03-14 19:51 编辑

正式服务器:

time dd if=/dev/zero of=/data/test bs=8k count=3000000
3000000+0 records in
3000000+0 records out
24576000000 bytes (25 GB) copied, 133.107 seconds, 185 MB/s

real    2m14.530s
user    0m0.582s
sys     1m4.662s


time dd if=/data/test of=/dev/null bs=8k
3000000+0 records in
3000000+0 records out
24576000000 bytes (25 GB) copied, 89.1308 seconds, 276 MB/s

real    1m29.147s
user    0m0.444s
sys     0m27.977s


测试服务器
time dd if=/tmp/test of=/dev/null bs=8k
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB) copied, 1.83681 seconds, 1.3 GB/s

real    0m1.839s
user    0m0.033s
sys     0m1.804s


time dd if=/tmp/test of=/dev/null bs=8k
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB) copied, 1.62677 seconds, 1.5 GB/s

real    0m2.965s
user    0m0.034s
sys     0m1.594s

测试服务器没有1t分区,这是/tmp分区

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
20 [报告]
发表于 2013-03-14 19:56 |只看该作者
正式服务器就是你的那个卡的服务器吧.和测试服务器完全不在一个数量级上啊.
你的那个服务器有没有本地磁盘,同样测试下速度,对比你的测试服务器的数据.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP