Normal view

There are new articles available, click to refresh the page.
Today — 17 September 2025Main stream

Should you use Tahoe’s new ASIF disk images?

By: hoakley
17 September 2025 at 14:30

Among the many new features Apple lists for macOS 26 Tahoe is a new disk image format, Apple Sparse Image Format or ASIF. In that list it appears as a feature for virtualisation, and is explained as: “Create virtualized disk images with a virtualized file format that can be formatted to any kind of file system.”

Yet in the help pages for Disk Utility, the claim goes further: “A modern sparse read/write image. The space it uses on your disk is proportional to the data it contains, making it efficient and general-purpose.” In Apple’s developer documentation for virtualisation, there’s more detail still:
“Apple Sparse Image Format (ASIF) files transfer more efficiently between hosts or disks because their intrinsic structure doesn’t depend on the host file system’s capabilities. The size the ASIF file takes on the file system is proportional to the actual data stored in the disk image.”

This article considers whether this new ASIF disk image format, as implemented in macOS 26.0, is more suitable for general purposes than the other two leading contenders. Should you use ASIF instead of sparse bundle or read-write (UDRW) disk images?

Testing

To assess the performance of these disk images, read and write speeds were measured in macOS 26.0 Tahoe running on a Mac mini M4 Pro with a 2 TB internal SSD. Each disk image was created using Disk Utility, with a single APFS volume in a disk of maximum size 100 GB stored on the internal SSD, with FileVault enabled. Each format was tested using plain APFS, and separately using APFS Encrypted with 256-bit AES.

When each disk image was created and mounted, a single folder was created in it, and the image unmounted. The disk image was mounted again, and a standard write test performed into the folder using Stibium. That writes in random order a total of 160 files ranging in size from 2 MB to 2 GB, totalling 53 GB. Once the write speed had been measured the image was unmounted again and Stibium closed. For the read test the image was mounted again and all 160 files in the test folder were read in random order using Stibium to measure their speed.

Results

Read and write performance for each of the tests are shown in the table, where results are ranked by read speed.

All three disk image formats achieve similar read and write speeds with unencrypted images. There were substantial differences in performance, though, when encryption was used. With encryption, the sparse bundle was faster than both RAW (Read-Write, UDRW) and ASIF. The new format read at exactly half the speed of a sparse bundle, and at 57% of write speed. ASIF with APFS Encrypted was the slowest of the seven tests in both read and write.

Differences in the size on disk of images were small. Empty disks were smallest for sparse bundles and ASIF, and following deletion of all test files, ASIF returned to the smallest size, indicating that it’s the most space-efficient.

Why use ASIF?

If ASIF doesn’t perform any better than existing formats, and any gains in space on disk are small, when and why should you use the new format? To appreciate its strengths, you need to consider how the other two formats work in terms of the file system they’re hosted on, and the file system they run internally.

A sparse bundle stores its contents on many band files inside its bundle. When its internal file system is able to compact free space, used space can be compacted into a minimum number of bundles, and those containing just free space can be deleted. Thus the total size of its bundle will vary according to the space required to store its contents. Coupled with efficient read and write support this results in good space efficiency and performance.

When a Raw Read-Write disk image has an internal file system that is capable of Trimming free space, as APFS and HFS+ can, that process will compact free space within the image. When the image is stored on a host file system that supports sparse file format, as APFS does, the space in the image that is free can be skipped, resulting in a space-efficient sparse file. However, a host file system like HFS+ that doesn’t offer a sparse file format is unable to take advantage of that.

ASIF is claimed to be able to accomplish similar economy of storage space without relying on the host file system’s special file formats, making it more suitable when the conditions required by sparse bundles and Raw Read-Write disk images aren’t available.

Although this new feature has been announced for virtualisation, it’s most probably only going to be useful for those running VMs stored on file systems other than APFS. Prior to the introduction of ASIF, VMs hosted on APFS have used Raw Read-Write style storage which has benefited from sparse file format, whether they’re macOS or Linux. Where ASIF may be of greatest benefit is for VMs run from network shares or cloud services, whose host file system won’t be APFS.

Recommendations

  • ASIF should be the disk image format of choice when neither sparse bundles nor Raw Read-Write images can achieve similar economy in host storage space.
  • In other circumstances, where sparse bundles or Raw Read-Write images can provide space-efficient storage and full performance, they are still to be preferred.
  • At present, ASIF isn’t generally a better replacement for sparse bundles or Raw Read-Write images, particularly when their internal and host file systems are APFS.
  • ASIF is likely to be of greatest benefit to those running macOS or Linux virtual machines from network shares or cloud services, where the VM can’t be hosted on APFS.

越来越多的 90/00 后开始断亲

By: Void000
17 September 2025 at 09:37
Void000:

网上突然看到这个话题,说现在的 90 后太过自私冷漠,甚至开始出现断亲现象。

这几年这种现象愈发明显: 大多数 90/00 后只是偶尔跟亲戚联系,家里如果没有什么事情几乎不会和亲戚联系,最多也就是过年打个招呼,断亲已经成为社会的常态。

为什么会出现这个现象?

刷视频看到黑龙江秋招那黑压压的毕业生排起的长队,有点难受。

By: Lyn321
17 September 2025 at 09:16
Lyn321: 场景太震撼了,而且还都是硕博毕业生。这么多毕业生要流入社会,就业压力进一步加剧。以后的工作得卷成什么样啊。一方面担忧自己年纪大了之后的工作问题。另一方面为家里明年要毕业的大学生感到压力。还有一方面是对鼓励生育的不理解。

Monorepo 就是个大坑

16 September 2025 at 19:47
BeijingBaby:

让你陷入无限折腾中。

monorepo 听起来很美好,多个项目作为子包放在同一个 repo 中,一般常听见的优点有:

1 、一次打开所有项目,尤其是一个人需要修改或维护多个项目(子包)时,不用来回切换编辑器,很直观。

2 、子包共享代码,如代码质量相关的 eslint 、prettier 、或跨 package 的代码等都可以给其他 pkg 的共享。

3 、类型共享,如前后端都是 ts 所写,则 types 可以共享不用重复定义或者担心迭代中产生不一致。

4 、ci/cd ,可以统一为整个 repo 做 ci/cd ,不再分散增加心智负担。

但是,monorepo 会给你带来无限的折腾。

首先,如果是跨语言的 mononrepo ,不同语言有不同的编码规范,根本不存在相同的 lint 或 prettier 。ci/cd 也相当于是独立项目要单独做,共享配置在这里没有带来任何好处的提升。

其次是,即使你是相同语言的 monorepo ,前期在项目架构时候也会让你消耗很多精力。

你需要创建 packages/prettier-config, packages/eslint-config...等等共享配置。

每次创建一个其他 package 你需要修改配置文件使用这些共享配置。

另外就是不同子包有不同的 eslint 配置,如 nextjs 和普通的 reactjs 项目就有不同的配置,你要么在 eslint-config 中再来一份针对 nextjs 的配置,然后修改 apps/web 引用,要么就干脆直接继承 eslint-config 再扩展 nextjs 官方推荐的配置。

这个过程非常折腾,本身 nextjs 这类项目就是开箱即用,已经有合适的 eslint 配置,你非要提取到共享的 package 中,可能大多数情况你的 monrepo 就不存在多个 nextjs 项目共享配置的情况!

好了,此时再来一个 nestjs 作为后端 api ,还得再折腾一遍 prettier-config ,eslint-config ,毕竟你都共享配置了,必须得用不是吗?

直接把这些项目的开箱即用抛弃了。

然后你的项目中要用 tailwind 或者 shadcn-ui ,你就会重复以上步骤,陷入无限的配置折腾中。

另外就是权限怎么管理,你总不想任何人都有整个 monorepo 的代码权限吧?实习生来几天直接给你代码拷走了。

multirepo 有问题吗?

其实一点问题都没有,更好的权限权利,更内聚。

一些项目本身开箱即用,创建好就能开始写业务,不用折腾什么共享配置。

或者每个项目有一些重复代码也没有任何影响,存储空间又不费钱,但是更内聚了。

要是有需求多个 repo 代码共享,统一标准,一样可以发布私有 npm 包来实现。

项目迭代中某个 repo 重构或者换语言,都根本不用考虑其他 repo ,只要对外接口保持一致就行。

个人感觉 monorepo 带来的提升很有限,不知道 v2er 的项目用的多不多,都用在什么场景?

这周五打算去爬黄山释压,求老司机带带路

By: Just4L
16 September 2025 at 14:38
Just4L:

各位论坛的旅游大佬们,给孩子点指导吧 计划在这周五向黄山发起冲锋,但心里的小算盘打得噼里啪啦响,还是有点虚。特此前来拜码头,求各位大佬指点迷津!

计划

  • 时间: 这周四晚上从合肥自驾出发黄山,周五正式冲击光明顶
  • 目标: 经典景点打卡,什么飞来石、迎客松啥滴。梦想是能看到云海,但这个就看天吃饭了?
  • 体力: 有 1 年多没跑过步了,不知道遭得住不。

跪求解答的几个“小白”问题

  • 天气玄学: 9 月中下旬的黄山,穿短袖会不会在山顶冻成狗,需要带个外套啥的吗
  • 路线抉择: 求推荐一个一日游能尽可能看到经典景点的路线。
  • 必备神器: 除了腿和钱,还有什么“肠子都悔青了没带”的必带物品

最后

任何吐槽、建议、避坑指南,我都洗耳恭听

先在此谢过各位!祝大家每次出行都天气超好,好运爆棚

极空间 z4 pro 双网口,今天发现其中一个网口坏了才 1 年时间

By: Takizawa
17 September 2025 at 12:28
Takizawa:

24 年 8 月激活,两个网口,我跟另一个同事各自一个路由器局域网连接过去,他其实平时需要同步的文件不多,没有我用的深入。今天突然发现其中一个网口没有连接状态了,经过排查,确实是网口故障。联系客服,意思是只能返厂维修,没有其他上门服务选项,可以自己拔掉硬盘。我说我们平常办公要用,客服表示没办法,只能返厂维修,其他的问题自己处理。问需要多久,避而不答。

求助, 15pm 升级 ios26 后, imessage 无法收发消息

By: yj444
17 September 2025 at 12:13
yj444:

15pm 昨天刚升级正式版,上周还可以正常收发 imessage, 今天突然发现不能使用,imessage 显式已激活,已经重启过和开关过 imessage, 目前还没有恢复正常。后来发现连接 wifi 可以正常收发,运营商网络不行(联通)。 这是为什么,怎么解决啊,兄弟们

车到底要不要贴膜?

17 September 2025 at 12:12
ElmerZhang: 近期要买新车,有贴过膜的来分享一下吧。
不想贴膜主要是因为有人说贴膜会伤漆,一是贴膜的胶会伤,二是贴的过程中容易在切膜时在车上留下划痕。
想贴膜主要就是怕被人开门杀,现在车都越来越大,被开门杀的概率也越来越大。
所以贴膜到底会不会伤车漆呢?另外贴大牌隐形膜的费用大概是多少?

offer 选择,云原生方向

By: mayooot
17 September 2025 at 12:01
mayooot:

三年云原生开发,base 北京。

  • 旷视科技:n*12 ,年终奖 0-2 个月;公积金缴纳 12%;工作内容:GPU 集群和 AI 推理训练方向;
  • 基流科技:( n+2 )*14 ,年终奖 2 个月写在合同里;公积金缴纳 5%;饭补;工作内容:k8s 平台开发

俩个公司都不打卡,旷视作息 9-6-5 ,基本不加班,弹性打卡,同事估计每天 10 点到。 基流 10-10.30 早上到,8.30 以后有额外饭补,一般都 8.30 走或者晚走

基流大概 9.10 号给 offer ,要求 9.22 号最晚 9.25 号入职。旷视十月一之后,10.13 入职。 基流这边催的比较紧,不能十月一之后才能入职。

有 V 友拼过 chatGPT 的团队版账号吗?是否会被封号?

By: suikaChen
17 September 2025 at 12:00
suikaChen: 最近试了大概一个月的企业版 chatGPT ,效果还不错。
刚好包年有 16%的折扣,于是想找几个同事拼一年,但问题在于同事们用的梯子各不相同,使用同一个账号,不知道是否会导致封号,有没有有经验的 V 友传授一下经验?
或者有没有更好的薅羊毛的方式?

港版也加卫星了, iPhone 16e 以上都有

17 September 2025 at 11:57
SkywalkerJi: Satellite connectivity isn't offered on iPhone models purchased in Armenia, Belarus, China mainland, Kazakhstan, Kyrgyzstan, and Russia. For iPhone models purchased in Hong Kong and Macao, satellite connectivity is offered only on iPhone 16e and later.
在亚美尼亚、白俄罗斯、中国大陆、哈萨克斯坦、吉尔吉斯斯坦和俄罗斯购买的 iPhone 机型不提供卫星通信功能。在香港和澳门购买的 iPhone 机型中,仅 iPhone 16e 及后续版本支持卫星通信。

Published Date: September 15, 2025

https://support.apple.com/en-hk/101573#:~:text=Satellite%20connectivity%20isn't%20offered,on%20iPhone%2016e%20and%20later.

做了一个 AI 分镜脚本生成工具,想听听大家的反馈

By: murongxdb
17 September 2025 at 11:54
murongxdb:

最近用 Next.js 14 + OpenAI API 做了个工具叫 FilmBoard ,主要解决影视创作中分镜头制作效率低的问题。

核心功能:

输入文字描述 → AI 分析生成分镜表 → 导出专业格式文档. 目前支持场景描述、剧本对话、小说段落等多种输入类型,生成的分镜包含镜头类型、机位、运动方式等专业术语。
有在做视频创作的 V 友可以试试,欢迎提建议和 bug 反馈~

目标用户:

  • 短片导演
  • 专业导演
  • 影视系学生
  • 编剧

链接地址:FilmBoard

小红书怎么这么喜欢搞女 Q?

17 September 2025 at 11:48
terito11122: 我一个女性朋友是小红书的忠诚使用者,基本上有空闲时间都在刷小红书,而且也偶尔会把喜欢的帖子转发到 WX 群里(群里有几个女生、少数男生)

但是最近她越来越喜欢在 WX 群里转发一些女生受害帖子,就比如说哪里哪里又家暴了,哪里哪里又有女生遭到男生的迫害了等等

而且她在群里的言论越来越尖锐,刚开始是家暴男去 S ,现在甚至说男的都去 S 。😬

国内互联网言论审查,评论只能自己看见,退出账号你会发现自己的评论不可见

By: Ashe007
17 September 2025 at 11:38
Ashe007:

知乎、Bilibili 都遇到过,有时可能是触发了关键词被秒删(只能自己可见),但有时感觉不太可能触发关键词,也会存在这种现象,我在想是否还有其他机制触发秒删,比如账号的某个评分机制与话题领域共同触发

有没有相关知情人士科普下

用 v 币投票来移动帖子

17 September 2025 at 11:29
sillydaddy:

先给出完整方案

- 1.每人花费 1~2 个 v 币投票某个主题应该移动到某个目标节点。「 x 主题->y 节点」可以看作是一个投票意见,每个投票意见最多可以接收投票 20 个 v 币。也就是说,对于「 x 主题应该移动到 y 节点」这一意见,满额的投票额是 20 个 v 币。

- 2.对于同一个主题的各个投票意见,票数多的那个投票意见获胜。

- 3.如果对于同一个主题,有 2 个或以上的投票意见都满额了(或者投票数相同),说明对这个主题的投票争议比较大,这时交由仲裁员来仲裁,宣布一方获胜,或者宣布投票无效。

- 4.获胜一方,可以分配全部投票意见的投票额度+站长奖励,按照获胜方各人的投票比例来分配。比如 13 个人共投了 20 个 v 币,且该投票意见获胜,而对手方共投票了 10 个 v 币,那么加上站长的 10 个 v 币奖励,则该 13 人获得 20+10+10=40 个 v 币的返还。相当于按照原始的 20 投票数额的 200%返还——投票 1 个 v 币的返还 2 个 v 币,投票 2 个 v 币的返还 4 个 v 币,收益率 100%。

- 5.过往的投票意见和获胜记录公开,以便投票前参考,或者监督。

再来解释一下

借助投票来移动主题的这个想法,前几天就有了大概的轮廓,今天尝试让它明晰起来。

大概思路:「每个人花费一定的 v 币来发起移动、打标签,然后每人花费一定的 v 币投票,命中结果的人,会奖励对应的 v 币。简单点说,proposal 需要花费一定成本去发起,如果做对了( vote 获胜),就会有奖励(超过成本),vote 本身也可以有奖励。」。参考原始来源 /t/1152672

今天尝试把它明晰化。

第一个进展

是意识到可以将 proposal 和 vote 合并。

这 2 者,都是在说「某个主题应该移动到某个节点」,唯一区别,发起提议 proposal 比投票 vote 在时间上早一些,本质上没有区别。

既然 proposal 和 vote 是一样的,那么对于它们的奖励就是等同的了,以后都称作投票 vote 。

而奖励的来源,一方面可以是失败的那些 vote ,算是付出的成本。另一方面则是站长给予的 v 币激励,毕竟站长受益了。

第二个进展

是思考了如何防止作弊,这是投票机制里的关键。

不搞实名制的话,就会有大量小号来占据投票优势,获得奖励。对于移动主题这么主观的东西,最终的方案只能是设置仲裁者来震慑作弊者。对于满足一些条件的投票(如投票争议大),直接提交给仲裁者来仲裁。这些仲裁条件的设置,一方面是震慑作弊者,让他们失去作弊的动机,另一个是防止所有的投票都交由仲裁,那就失去了投票的意义。举一个例子,假设某 2 个投票,票数都超过了 10 票,那就要提交给仲裁者。这样的话作弊者就不敢作弊,因为其他人可以挑战它,让它损失大量成本!

思考防作弊得到的另一个点就是,可以限制每个账号投票的投票额度(比如最多投票 2 个 v 币),尽量收集更多账号的意见。当然,在有小号存在的情况下,这点只能说是防君子不防小人。

一旦确定了上述的关键点,后面就是具体的数值规划了:奖励额度怎么定、投票额度怎样定。

就在这一步,我发现了一个明显的问题。

先假设一个前提:站长愿意为移动主题这个功能,花费每年约 1 万元人民币的成本,大约对应 100000 个 v 币。

看起来很多,但平均到每天,大约 300 个 v 币,价值约 30 元。

假设每天约有 30 个主题需要移动,那么每移动 1 个主题会有约 10 个来自站长的 v 币奖励,价值 1 元。

考虑到每次 v 币转账,都需要耗费约 3 分钱=$0.0033=0.000014 SOL 的 gas 费,如果某个主题有 10 个人投票,光 gas 费就要消耗掉 3 毛钱。如果算上来回,就要耗费 6 毛钱,这占站长 1 元奖励金额的 60%了。

而且,除了损耗过大的问题,我还注意到一个重要的问题,那就是,把每天 30 元奖励的移动主题工作,都转移给单个“兼职”的人,激励是不是比“众包”投票的方式更有效呢?!使用众包投票,人数众多的话,每人所能分到的奖励就很少,而人数少的话,投票效果又可能不好。

还有没有希望?

这个方案虽然只是纸面上的构想,而且看起来疑点重重。不过我还是想把它分享出来,就算是扩展$V2EX 币使用场景的一次头脑风暴吧。希望大家也来头脑风暴一下,看看有没有办法改进。

❌
❌