解决了

远程站点复制调整

  • 2018年5月29日
  • 6回复
  • 1966年观点

UserLevel 2.
徽章 +5
Nutanix中有哪些选项可加快对远程站点的复制?我能够获得单一流的最佳速度约为20Mbps(160Mbps),总速度约为60Mbps(480mbps)展开了几个流。但是,我们在网站之间有一个10Gbps的链接,所以我期望获得更好的吞吐量。
图标

最好的答案Penguindows.2018年6月8日,16:35

@dlink7<\/user-mention> for the good info on expected performance under ideal situations. That does give me a good baseline.
\r\n
\r\nOur issue is definitely latency. Our remote site is across the continental US, and our per VM size is 30TB (10TB used) on a single disk. as you can imagine, this creates a bottleneck for us. Replications with default settings are not meeting RPO.
\r\n
\r\nOur AOS version is 5.5.2.
\r\n
\r\nI have found (with help from support) these tunable settings within the cluster:
\r\n
\r\n
\r\n
code:<\/b>
nutanix@NTNX:~$ python \/home\/nutanix\/serviceability\/bin\/edit-aos-gflags | grep stargate_
2018-06-08 10:00:09 INFO zookeeper_session.py:110 edit-aos-gflags is attempting to connect to Zookeeper
stargate_cerebro_replication_max_rpc_vblocks = 16 #default 4
stargate_cerebro_replication_max_rpc_data = 4194304 #default 1048576
stargate_cerebro_max_outstanding_vdisk_replication_rpcs = 16 #default 4
stargate_cerebro_replication_param_multiplier = 32 #default 16
stargate_vdisk_read_extents_max_outstanding_egroup_reads = 6 #default 3
<\/pre><\/div>
\r\n
\r\nI am putting together a helpful howto on how to tune these parameters, but the gist of it is editing with...
\r\n
\r\n
code:<\/b>
nutanix@NTNX:~$ python \/home\/nutanix\/serviceability\/bin\/edit-aos-gflags --service=stargate
<\/pre><\/div>
\r\n
\r\n...then restarting stargate on each cvm.
\r\n
\r\nThe restarts went perfectly with a sleep 60 in there, we had no failure on running replications, and our throughput went up ~4x as expected. our 12 day running replications began to finish.
\r\n
\r\nmy ultimate solution is two fold. first, the above settings to accelerate each stream. second, we are working to break out our 30TB disk in to 10x 3TB disks.
\r\n
\r\nRE: going off stock; I think that as nutanix grows in to more environments (and they will, the technology is amazing and i foresee continued adoption) there are going to be many more flavors of environments that sticking to stock options just wont solve. I expect in the next few years that nutanix will pivot in to a more open position. I'd love to see some of these settings within reach of the prism GUI along with some better man, info pages on what each individual setting and switch does.
\r\n
\r\nThat being said, your warning about going off stock is noted and appreciated. i understand that nutanix attempts to tune AOS as well as possible out of the box, and that tuning these settings can have an impact (sometimes bad, sometimes good). Therefore, I will only seek a behavior change in the technology to achieve some desired result.","className":"post__content__best_answer"}">
查看原版

此主题已关闭征询意见

6回复

UserLevel 4.
徽章 +19
嗨,你是谁的摇摆?

在acropolis中,每个节点都可以在一次复制四个文件,最多可在100 MB / s的聚合。因此,在四节点配置中,群集可以复制400 MB / s或3.2 gb / s。

什么可能导致这个数字下降?群集上的其他任务,如策展人,如果snapchain太高,延迟不好。

如果你仍然遇到你的RPO,我就不会改变任何东西。off股票会回到以后困扰你。
UserLevel 7.
徽章 +34
你好 @penguindows.

你有没有看到回复 @ dlink7.
UserLevel 2.
徽章 +5
是的,我看到Dlink7,S的回复。谢谢 @ dlink7.在理想情况下对预期绩效的良好信息。这给了我一个很好的基线。

我们的问题绝对是延迟。我们的远程网站位于美国大陆,我们的每个VM大小是单个磁盘上的30TB(10TB)。正如您可以想象的那样,这为我们创造了一个瓶颈。默认设置的复制不符合RPO。

我们的AOS版本为5.5.2。

我已经找到(借助于帮助)这些集群中的这些可调整设置:


代码:
Nutanix @ NTNX:〜$ Python / Home / Nutanix / ServiceAility / Bin / Edit-AOS-GFLAGS |Grep Stargate_
2018-06-08 10:00:09信息zookeeper_session.py:110 Edit-AOS-GFLAGS正在尝试连接到ZooKeeper
Stargate_cerebro_replication_max_rpc_vblocks = 16 #default 4
Stargate_cerebro_replication_max_rpc_data = 4194304 #default 1048576
stargate_cerebro_max_out优效_vdisk_replication_rpcs = 16 #default 4
Stargate_cerebro_replication_param_multiplier = 32 #default 16
Stargate_vdisk_read_readtents_max_outivent_egroup_reads = 6 #default 3


我在一起有用的如何调整这些参数的有用HOWTO,但它的主旨是编辑......

代码:
Nutanix @ NTNX:〜$ Python / Home / Nutanix / ServiceAility / Bin / Edit-AOS-GFLAGS  -  Service = STARGATE


...然后在每个CVM上重新启动星形格。

重启与那里的睡眠完全完美,我们在运行复制上没有失败,我们的吞吐量按预期上涨〜4倍。我们的12天运行重复开始完成。

我的终极解决方案是两倍。首先,以上设置加速每个流。其次,我们正致力于将30TB磁盘分为10x 3TB磁盘。

回复:脱掉股票;我认为随着Nutanix在更多的环境中增长(而且,这项技术是惊人的,我预见到持续采用)将有更多的旨在粘在股票期权的环境中的味道。我期待在未来几年内,Nutanix将枢转到更开放的位置。我很乐意在棱镜GUI的范围内看到一些这些设置以及每个单独的设置和交换机的信息页面。

据说,关于脱离股票的警告被指出并赞赏。我明白Nutanix尝试在盒子中尽可能地调整AOS,并且调整这些设置可能会产生影响(有时差,有时好)。因此,我只会寻求技术的行为变化以实现一些所需的结果。
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu