V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  littlewey  ›  全部回复第 4 页 / 共 48 页
回复总数  944
1  2  3  4  5  6  7  8  9  10 ... 48  
@zhengdai1990 c++ 开发可以哈。
2021-05-10 01:48:17 +08:00
回复了 meteordragon 创建的主题 Python 小白发现一个 dict 的奇怪现象,请问有什么办法可以避免
看一下
id(cc)
id(dd)
2021-03-01 01:41:49 +08:00
回复了 chinanetcoltd 创建的主题 问与答 请教大家关于虚拟化的问题
google:hypervisor
2021-02-24 19:25:20 +08:00
回复了 hsczy 创建的主题 Go 编程语言 Golang 新手求助
windows 虚拟机里封一个 venv,配上 batch/powershell 调用,打包 zip,得了,不搞 exe 。
Update:

之前的问题不事生产环境,之后没有重现不了了之。

今年又有别的朋友遇到这个问题,找到我,我又看了一下,猜测问题可能出在 traffic pattern 频繁触发了 ovs dpdk bonding 的 流量 shift,shift 的抖动造成了 VM (有抖动敏感的重启机制)内部的重启,而这个 long poll 只是 VM 重启的结果。

下边是 bonding shift 流量的触发条件:高的一边比低的一边差别在几个维度( delta BW,BW 比例,高的流量超过一个,并且 shift 能降低至少 10%)。

ref: https://docs.openvswitch.org/en/latest/topics/bonding/

> Bond Packet Output¶
> When a packet is sent out a bond port, the bond member actually used is selected based on the packet’s source MAC and VLAN tag (see bond_choose_output_member()). In particular, the source MAC and VLAN tag are hashed into one of 256 values, and that value is looked up in a hash table (the “bond hash”) kept in the bond_hash member of struct port. The hash table entry identifies a bond member. If no bond member has yet been chosen for that hash table entry, vswitchd chooses one arbitrarily.

> Every 10 seconds, vswitchd rebalances the bond members (see bond_rebalance()). To rebalance, vswitchd examines the statistics for the number of bytes transmitted by each member over approximately the past minute, with data sent more recently weighted more heavily than data sent less recently. It considers each of the members in order from most-loaded to least-loaded. If highly loaded member H is significantly more heavily loaded than the least-loaded member L, and member H carries at least two hashes, then vswitchd shifts one of H’s hashes to L. However, vswitchd will only shift a hash from H to L if it will decrease the ratio of the load between H and L by at least 0.1.

> Currently, “significantly more loaded” means that H must carry at least 1 Mbps more traffic, and that traffic must be at least 3% greater than L’s.
2021-02-23 21:45:13 +08:00
回复了 NebulaGraph 创建的主题 酷工作 [北京 / 上海 / 深圳 / 杭州] 技术布道师 20k-40k 15 薪
@NebulaGraph 谢谢您😊
2021-02-23 09:04:22 +08:00
回复了 NebulaGraph 创建的主题 酷工作 [北京 / 上海 / 深圳 / 杭州] 技术布道师 20k-40k 15 薪
您好,发了邮件到 hire@ 不知道是否收到 😀。
电视直播的话,你需要的是一个叫电视家的 app
2021-01-26 16:42:17 +08:00
回复了 nutting 创建的主题 怀旧游戏 game&watch 马里奥 2 有人通关没
昨天看到 game& watch 已经可以刷系统跑其他游戏了,可惜只有 1MB 的空间。
2021-01-19 10:52:17 +08:00
回复了 Smurf 创建的主题 问与答 状态不好,想得到一些建议
找一个开源社区,贡献试试?
2021-01-07 10:56:43 +08:00
回复了 DinnyXu 创建的主题 问与答 oAuth2 对接给其它系统?
sso 不只可以用 openid connect (基于 oauth2 )还有其他方式比如 saml2,kerberos 之类。
128 ± 20
iPhone XR
2020-11-14 11:34:31 +08:00
回复了 v2defy 创建的主题 程序员 想送给小学二年级的外甥一本编程启蒙书,哪本书比较好
raspberry pi 400
2020-08-01 20:42:36 +08:00
回复了 jzjjzj 创建的主题 程序员 homekit 用什么做中枢比较好 iPad appletv ?
推荐 Apple TV/HomePod,iPad 的响应时间长一些。
2020-06-30 16:02:48 +08:00
回复了 doveyoung 创建的主题 程序员 openstack 真的是目前为止用过的最难受的软件了
virsh 是 libvirt 的 utility,和 openstack 没有直接关系。
2020-06-17 08:34:10 +08:00
回复了 Themyth 创建的主题 iPhone 想用 utm ios 下的 qemu 虚拟机
altstore beta 我是这么用的
2020-06-01 00:57:30 +08:00
回复了 happyxyk 创建的主题 Apple 考虑入一台 2012 Mac mini 放在办公室
我在用 Mac mini 2012 sata SSD / 16GiB RAM

CPU 是短板,平时跑跑虚拟机、docker 倒是也没问题。
我刚刚把这个 vagrant 打开看了一下,是符合你的要求的:

root@operator:/home/vagrant# openstack network agent list -f json -c Binary -c Alive -c State
[
{
"Alive": true,
"State": true,
"Binary": "neutron-linuxbridge-agent"
},
{
"Alive": true,
"State": true,
"Binary": "neutron-l3-agent"
},
{
"Alive": true,
"State": true,
"Binary": "neutron-metadata-agent"
},
{
"Alive": true,
"State": true,
"Binary": "neutron-dhcp-agent"
}
]
1  2  3  4  5  6  7  8  9  10 ... 48  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2093 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 50ms · UTC 00:46 · PVG 08:46 · LAX 16:46 · JFK 19:46
♥ Do have faith in what you're doing.