ChaosAttractor 最近的时间轴更新
ChaosAttractor

ChaosAttractor

V2EX 第 680933 号会员,加入于 2024-03-19 13:10:32 +08:00
ChaosAttractor 最近回复了
1 天前
回复了 ChaosAttractor 创建的主题 NAS 尝鲜 Bcachefs 的注意事项
@tenl 对 FS 来说,开发的时间跨度太长了
很可能是 3 年后可用,5 年后稳定,10 年后成熟
1 天前
回复了 ChaosAttractor 创建的主题 NAS 尝鲜 Bcachefs 的注意事项
还观察到一些很有意思的事情,bcachefs 如果硬盘容量不同,为了保证 IO 性能的持续一致性,假如一个硬盘容量 10T ,一个 5T ,那么它们被填充的 IO 量会不一样
我这边比较极端,两个 10T 四个 800G ,可以观测到两个 10T 填充了 100MB/s ,俩 800G 就只被填充了 8MB/s
考虑到后台是可以 rebalance 的,我不觉得这是一个好的做法
这还导致一个很神奇的事情,如果你让数据在 SSD 和 HDD 之间条带,你会发现数据全写到 HDD 里了,SSD 就在那边干看着

然后单个数据的多个镜像在读取时应该没做 Round Robin 来提高吞吐?
然后写入由于我还没有四个 SSD ,我也不知道它能不能很好的在写入时填充多个条带
1 天前
回复了 xinmans 创建的主题 NAS pve-cluster 的高可用性
@xinmans 三节点 2 副本也可以
4 天前
回复了 ChaosAttractor 创建的主题 NAS Bcachefs, 奇奇怪怪的性能
似乎是压缩的问题,在关闭 zstd 时 q1t1 可以跑出 200MiB/s 的正常成绩
首先就是,还是得有电池,typec 插手机上的稳定性很感人
其次就是,这种 CPE 使用的芯片性能和能耗感人,上面能少跑点东西推荐就少跑点东西,你要跑 wireguard 的话全部 cpu 来转发非常吃力
@tuwulin365 一直可以,ipad 更抽象,那个雷电接口能支持 apple silicon mac 能支持的绝大部分 pcie 设备,包括 nvme 硬盘盒和 mellanox 的 pcie 网卡( mlx5 )
用 acl ,同时允许用户组和 docker 的用户访问
10 天前
回复了 xinmans 创建的主题 NAS pve-cluster 的高可用性
@xinmans 也可以用 glusterfs 的
5~10ms 是正常的,icmp 可能会被分低优先级,因此延迟可能相对更高,建议将其他设备下线后测
此外能不能看到信道利用率,手机上很多 app 都可以看,大于 40%的话你这个情况倒也不奇怪的
10 天前
回复了 ChaosAttractor 创建的主题 NAS 执行低级格式化后数据居然没丢?
@sNullp
```
--fastFormat [fast format mode] (SAS Only) (SBC4 required)
Use this option with the --formatUnit option
to run a fast format.
Changing sector sizes is intended for supported Seagate products
used in some hardware RAID configurations. Please consult your
hardware RAID documentation for information about compatibility and
using 4K native sectors before using this option!
Software RAID or individual/JBOD drive solutions will see no benefit as modern
file systems and modern operating systems are already 4K aware even on
512 emulation drives. Modern operating systems already align file systems to 4K
boundaries required by these drives for optimal performance.
Performing a sector size change is data destructive and has a risk that
the adapter, driver, or operating system may not know how to communicate with
the device once this has completed.
There is an additional risk when performing a low-level fast format that may
make the drive inoperable if it is reset at any time while it is formatting.
Available fast format modes:
0 - This is a standard format unit command. All logical
blocks will be overwritten. This command will take a
very long time
1 - This is a fast format unit command keeping existing
data in physical sector. This option can be used to
quickly change the the logical sector size between
5xxe and 4xxx. The media may be readable, but data
may be unspecified or may return errors on read access
according to it's error processing algorithms.
2 - This is a fast format unit command that can change the
logical sector size quickly. Media may or may not be
read accessible until a write has been performed to
the media.

WARNING: Any interruption to the device while it is formatting may render the
drive inoperable! Use this at your own risk!
WARNING: Set sector size may affect all LUNs/namespaces for devices
with multiple logical units or namespaces.
WARNING: Disable any out-of-band management systems/services/daemons
before using this option. Interruptions can be caused by these
and may prevent completion of a sector size change.
WARNING: It is recommended that this operation is done from a bootable environment
(Live USB) to reduce the risk of OS background activities running and
triggering a device reset while reformating the drive.
```
这是 fastFormat 的注释,的确 fastFormat 没有执行清除,但看起来能够完全保留数据也不是期待的结构
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2476 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 05:20 · PVG 13:20 · LAX 21:20 · JFK 00:20
Developed with CodeLauncher
♥ Do have faith in what you're doing.