V2EX gyf304
 gyf304's recent timeline updates
gyf304

gyf304

V2EX member #107932, joined on 2015-03-29 03:54:56 +08:00
gyf304's recent replies
如果只有 ASCII 字符 ANSI 和 UTF-8 是等价的。保存了以后是没有任何区别的。
@kaiki hhh 毛利兰
写过个类似的 https://v2ex.com/t/753390
@zeni123 可以联系一下我,我把半成品的 DX12 版 的 VS Project 发给你,C++ 写的。
另:XSX 如果用 DX12 的话是没有显存限制的。
我之前写过一个 PoC

https://github.com/gyf304/ethash-hlsl/blob/main/ETHash.hlsli

后来发现了和你一样的问题,在 XSX 上效率太低解决不了。最后把半成品开源了(半成品有一些 bug,主要是 Search 的实现不正确,但是我也懒得改,毕竟没啥用,在 AMD 平台上挖太慢了)。看起来你把我没干完的活干完了。
@abersheeran pipenv?
有挺多原因的
1. 分区大小和文件系统占用空间不一定相同,分区 1T 文件系统可以只用前 500G 见 `man resize2fs`

```
The resize2fs program does not manipulate the size of partitions. If you wish to enlarge a
filesystem, you must make sure you can expand the size of the underlying partition first.
This can be done using fdisk(8) by deleting the partition and recreating it with a larger
size or using lvextend(8), if you're using the logical volume manager lvm(8). When recreat
ing the partition, make sure you create it with the same starting disk cylinder as before!
Otherwise, the resize operation will certainly not work, and you may lose your entire
filesystem. After running fdisk(8), run resize2fs to resize the ext2 filesystem to use all
of the space in the newly enlarged partition.
```

2. ext4 默认有 5% 的 reserve
3. 如上面说的,各种元数据
4. 可能部分文件系统支持的 quota 也有可能影响
电梯逻辑其实非常复杂 一些常见的运作模式: https://elevation.fandom.com/wiki/List_of_elevator_special_modes
About     Help     Advertise     Blog     API     FAQ     Solana     3143 Online   Highest 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 37ms UTC 12:52 PVG 20:52 LAX 05:52 JFK 08:52
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86