首页 > 新闻中心 > 掌酷科技 > 数码 > VRAR >

对EasyCVR录像功能进行压力测试
2021-06-04 10:22 EasyDSS

近期我们做了一个EasyCVR的录像功能压力测试,可以大概知晓EasyCVR录像功能需要满足多少G的磁盘容量。下面就是我们的测试过程,大家可以参考。

查看centos7磁盘容量:

[root@localhost ~]# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/mapper/centos-root 50G 1.3G 49G 3% /

devtmpfs 3.9G 0 3.9G 0% /dev

tmpfs 3.7G 0 3.7G 0% /dev/shm

tmpfs 3.7G 8.4M 3.7G 1% /run

tmpfs 3.7G 0 3.7G 0% /sys/fs/cgroup

/dev/mapper/centos-home 74G 33M 74G 1% /home

/dev/xvda1 497M 96M 402M 20% /boot

发现系统中的磁盘不足以进行大量的录像压力测试功能,关机,将磁盘改为800G:

经过以上操作后磁盘容量新加了628G,可以满足EasyCVR录像功能的压力测试。完整内容如下:

[root@localhost ~]# fdisk /dev/xvda

Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

Command (m for help): p

Disk /dev/xvda: 859.0 GB, 858993459200 bytes, 1677721600 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk label type: dos

Disk identifier: 0x0009ab00

Device Boot Start End Blocks Id System

/dev/xvda1 * 2048 1026047 512000 83 Linux

/dev/xvda2 1026048 268435455 133704704 8e Linux LVM

Command (m for help): n

Partition type:

p primary (2 primary, 0 extended, 2 free)

e extended

Select (default p): p

Partition number (3,4, default 3):

First sector (268435456-1677721599, default 268435456):

Using default value 268435456

Last sector, +sectors or +size{K,M,G} (268435456-1677721599, default 1677721599):

Using default value 1677721599

Partition 3 of type Linux and of size 672 GiB is set

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

The kernel still uses the old table. The new table will be used at

the next reboot or after you run partprobe(8) or kpartx(8)

Syncing disks.

[root@localhost ~]#

[root@localhost ~]# partprobe

Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.

Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.

Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.

标签: 功能 压力测试 EasyCVR 录像
0

上一篇:嵌入式培训如何学习编程路线解析!
下一篇:没有了
官方微信公众号:掌酷门户(wapzknet)

首页 > 新闻中心 > 掌酷科技 > 数码 > VRAR >
相关资讯

新闻热点
精选美图


客户端合作免责友链
Copyright 2009-2021 蜀ICP备09035849号