2.20测试版

谢谢,可以考虑优化一下内存缓存吗

版本是2.19.2 Linux,默认分配1G内存缓存的情况下有30MB/s的上传,后面下调到512M发现上传也跟着砍半了

这个之前提到过,唯一的解决办法就是不使用进程内存缓存独享,转而采用操作系统内核系统缓存,Linux平台下改为 sendfile 调用操作系统缓存,Windows平台则是 TransmitFile ,应该在开发者的todo list里,还要等后续版本更新,高级设置开关来是否切换
描述:启用系统缓存,可设置为使用256MB的进程缓存,进程缓存不足时,读盘的时候通过 sendfile 函数则可实现操作系统缓存,或者彻底禁用缓存的时候才使用 sendfile 系统缓存

由于你设置512MB缓存,导致真实磁盘读取次数数值大幅上涨,读盘命中率大幅下跌,所以引起了上传速度被砍半的现象

比特彗星进程最小内存缓存应当设置为256MB,BT做种上传任务提升磁盘读取性能达到99%命中率,16MB区块和宽带速度关系
https://bbs.itzmx.com/thread-111576-1-1.html

为什么比特彗星从任务管理器来看发现进程内存占用比qbittorrent高 系统级磁盘缓存
https://bbs.itzmx.com/thread-104963-1-1.html

毕竟有时候操作系统缓存是不可信的,某些用户会导致qb出现卡死崩溃现象,提供一个开关很有必要
并且BT可能需要进行加密传输,基于https的 SSL_sendfile 并不适用在BT上(而且iouring需要较高的5.10内核版本,推荐6.1及后续),函数使用 sendfile 最大的特点就是支持操作系统缓存( 2.1及以上内核实测可用,推荐2.4及后续)

1個讚

希望后续能加上操作系统缓存吧,我的服务器硬盘IO还算可以,因为性能问题目前又用回去qb做种了

是的,现在比特彗星这种读盘策略就是需要大内存作为磁盘缓存,等后续支持 sendfile 操作系统缓存了,Linux版本下的性能就能在1GB小内存的VPS服务器中和 Transmission、qbittorrent 一样了
毕竟也才刚跨平台没多久,主力更新还是在Windows端,在2024年12月提到,目前一年暂时还没实现。

beta3 100%的1字显示不全,进度两个字是竖着的,大小的MB也跑到了第二行

上一版显示正常

感谢反馈,下一版已修复

搜索框中的 “每次按键时搜索” 表述似乎有些不清楚
可以改成 “每次键入时搜索” 或者 “实时搜索”

磁力下載點:magnet:?xt=urn:btih:LAOUKQCBSIPB66AO6Y6CVYHOYW6GL5H3

1個讚

浏览器上复制磁力链接,然后客户端崩溃了,错误报告好像没发上去,看了下这个zip文件不见了

Start collecting information about the crash...
[taking_screenshot]
Desktop screenshot generation disabled; skipping.
Creating crash dump file...
[creating_dump]
Dumping info for module D:\BitComet Stable (build 2.19.12.15) 比特彗星全功能解锁豪华版\BitComet_x64.exe
Dumping info for module C:\Windows\System32\ntdll.dll
Dumping info for module C:\Windows\System32\kernel32.dll
Dumping info for module C:\Windows\System32\KERNELBASE.dll
Dumping info for module C:\Windows\System32\apphelp.dll
Dumping info for module C:\Windows\System32\user32.dll
Dumping info for module C:\Windows\System32\win32u.dll
Dumping info for module C:\Windows\System32\gdi32.dll
Dumping info for module C:\Windows\System32\gdi32full.dll
Dumping info for module C:\Windows\System32\msvcp_win.dll
Dumping info for module C:\Windows\System32\ucrtbase.dll
Dumping info for module C:\Windows\System32\advapi32.dll
Dumping info for module C:\Windows\System32\msvcrt.dll
Dumping info for module C:\Windows\System32\sechost.dll
Dumping info for module C:\Windows\System32\rpcrt4.dll
Dumping info for module C:\Windows\System32\shell32.dll
Dumping info for module C:\Windows\System32\ole32.dll
Dumping info for module C:\Windows\System32\combase.dll
Dumping info for module C:\Windows\System32\ws2_32.dll
Dumping info for module C:\Windows\System32\uxtheme.dll
Dumping info for module C:\Windows\System32\urlmon.dll
Dumping info for module C:\Windows\System32\wininet.dll
Dumping info for module C:\Windows\System32\shlwapi.dll
Dumping info for module C:\Windows\System32\winmm.dll
Dumping info for module C:\Windows\System32\comdlg32.dll
Dumping info for module C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.20348.1_none_88d3d41d702dedea\comctl32.dll
Dumping info for module C:\Windows\System32\IPHLPAPI.DLL
Dumping info for module C:\Windows\System32\SHCore.dll
Dumping info for module C:\Windows\System32\wsock32.dll
Dumping info for module C:\Windows\System32\wtsapi32.dll
Dumping info for module C:\Windows\System32\oleaut32.dll
Dumping info for module C:\Windows\System32\iertutil.dll
Dumping info for module C:\Windows\System32\srvcli.dll
Dumping info for module C:\Windows\System32\netutils.dll
Dumping info for module C:\Windows\System32\msimg32.dll
Dumping info for module C:\Windows\System32\version.dll
Dumping info for module C:\Windows\System32\winspool.drv
Dumping info for module C:\Windows\System32\oleacc.dll
Dumping info for module C:\Windows\System32\imm32.dll
Dumping info for module C:\Windows\System32\kernel.appcore.dll
Dumping info for module C:\Windows\System32\bcryptPrimitives.dll
Dumping info for module C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll
Dumping info for module C:\Windows\System32\windows.storage.dll
Dumping info for module C:\Windows\System32\profapi.dll
Dumping info for module C:\Windows\System32\msctf.dll
Dumping info for module C:\Windows\System32\mswsock.dll
Dumping info for module C:\Windows\System32\cryptsp.dll
Dumping info for module C:\Windows\System32\rsaenh.dll
Dumping info for module C:\Windows\System32\CRYPTBASE.dll
Dumping info for module C:\Windows\System32\sspicli.dll
Dumping info for module C:\Windows\System32\ondemandconnroutehelper.dll
Dumping info for module C:\Windows\System32\winhttp.dll
Dumping info for module C:\Windows\System32\nsi.dll
Dumping info for module C:\Windows\System32\winnsi.dll
Dumping info for module C:\Windows\System32\dhcpcsvc6.DLL
Dumping info for module C:\Windows\System32\dhcpcsvc.dll
Dumping info for module C:\Windows\System32\dnsapi.dll
Dumping info for module C:\Windows\System32\propsys.dll
Dumping info for module C:\Windows\System32\clbcatq.dll
Dumping info for module C:\Windows\System32\cfgmgr32.dll
Dumping info for module C:\Windows\System32\edputil.dll
Dumping info for module C:\Windows\System32\WinTypes.dll
Dumping info for module C:\Windows\System32\appresolver.dll
Dumping info for module C:\Windows\System32\userenv.dll
Dumping info for module C:\Windows\System32\Bcp47Langs.dll
Dumping info for module C:\Windows\System32\FirewallAPI.dll
Dumping info for module C:\Windows\System32\fwbase.dll
Dumping info for module C:\Windows\System32\FWPolicyIOMgr.dll
Dumping info for module C:\Windows\System32\linkinfo.dll
Dumping info for module C:\Windows\System32\mpr.dll
Dumping info for module C:\Windows\System32\winsta.dll
Dumping info for module C:\Windows\System32\TextShaping.dll
Dumping info for module C:\Windows\System32\ieframe.dll
Dumping info for module C:\Windows\System32\netapi32.dll
Dumping info for module C:\Windows\System32\wkscli.dll
Dumping info for module C:\Windows\System32\sxs.dll
Dumping info for module C:\Windows\System32\dataexchange.dll
Dumping info for module C:\Windows\System32\twinapi.appcore.dll
Dumping info for module C:\Windows\System32\msIso.dll
Dumping info for module C:\Windows\System32\mshtml.dll
Dumping info for module C:\Windows\System32\DiagnosticDataSettings.dll
Dumping info for module C:\Windows\System32\powrprof.dll
Dumping info for module C:\Windows\System32\umpdc.dll
Dumping info for module C:\Windows\System32\srpapi.dll
Dumping info for module C:\Windows\System32\mlang.dll
Dumping info for module C:\Windows\System32\wldp.dll
Dumping info for module C:\Windows\System32\bcrypt.dll
Dumping info for module C:\Windows\System32\ieapfltr.dll
Dumping info for module C:\Windows\System32\jscript9.dll
Dumping info for module C:\Windows\System32\Windows.System.Launcher.dll
Dumping info for module C:\Windows\System32\msvcp110_win.dll
Dumping info for module C:\Windows\System32\windows.staterepositorycore.dll
Dumping info for module C:\Windows\System32\WindowsCodecs.dll
Dumping info for module C:\Windows\System32\thumbcache.dll
Dumping info for module C:\Windows\System32\policymanager.dll
Dumping info for module C:\Windows\System32\textinputframework.dll
Dumping info for module C:\Windows\System32\CoreMessaging.dll
Dumping info for module C:\Windows\System32\CoreUIComponents.dll
Dumping info for module C:\Windows\System32\ntshrui.dll
Dumping info for module C:\Windows\System32\cscapi.dll
Dumping info for module C:\Windows\System32\dwmapi.dll
Dumping info for module C:\Windows\System32\uiautomationcore.dll
Dumping info for module C:\Windows\System32\windowmanagementapi.dll
Dumping info for module C:\Windows\System32\UiaManager.dll
Dumping info for module C:\Windows\System32\msimtf.dll
Dumping info for module C:\Windows\System32\secur32.dll
Dumping info for module C:\Windows\System32\explorerframe.dll
Dumping info for module C:\Windows\System32\d2d1.dll
Dumping info for module C:\Windows\System32\DWrite.dll
Dumping info for module C:\Windows\System32\dxgi.dll
Dumping info for module C:\Windows\System32\directxdatabasehelper.dll
Dumping info for module C:\Windows\System32\d3d11.dll
Dumping info for module C:\Windows\System32\d3d10warp.dll
Dumping info for module C:\Windows\System32\DXCore.dll
Dumping info for module C:\Windows\System32\psapi.dll
Dumping info for module C:\Windows\System32\rasadhlp.dll
Dumping info for module C:\Windows\System32\FWPUCLNT.DLL
Dumping info for module C:\Windows\System32\ntmarta.dll
Dumping info for module C:\Windows\System32\msctfuimanager.dll
Dumping info for module C:\Windows\System32\dui70.dll
Dumping info for module C:\Windows\System32\duser.dll
Dumping info for module C:\Windows\System32\UIAnimation.dll
Dumping info for module C:\Windows\System32\atlthunk.dll
Dumping info for module C:\Windows\System32\shdocvw.dll
Dumping info for module C:\Windows\System32\coml2.dll
Dumping info for module C:\Windows\System32\AudioSes.dll
Dumping info for module C:\Windows\System32\winmmbase.dll
Dumping info for module C:\Windows\System32\MMDevAPI.dll
Dumping info for module C:\Windows\System32\wdmaud.drv
Dumping info for module C:\Windows\System32\ksuser.dll
Dumping info for module C:\Windows\System32\avrt.dll
Dumping info for module C:\Windows\System32\devobj.dll
Dumping info for module C:\Windows\System32\twinapi.dll
Dumping info for module C:\Windows\System32\ninput.dll
Dumping info for thread 0x5B4
Dumping info for thread 0x1804
Dumping info for thread 0x1AB4
Dumping info for thread 0x7F4
Dumping info for thread 0x35E8
Dumping info for thread 0x35C4
Dumping info for thread 0x1CBC
Dumping info for thread 0x195C
Dumping info for thread 0x2D38
Dumping info for thread 0x2D94
Dumping info for thread 0x26E0
Dumping info for thread 0x2420
Dumping info for thread 0x3290
Dumping info for thread 0x22DC
Dumping info for thread 0x920
Dumping info for thread 0x325C
Dumping info for thread 0x32C0
Dumping info for thread 0x2AB8
Dumping info for thread 0x3154
Dumping info for thread 0x3380
Dumping info for thread 0x1C4C
Dumping info for thread 0x2F30
Dumping info for thread 0x2A98
Dumping info for thread 0x1BF4
Dumping info for thread 0x2BAC
Dumping info for thread 0xAB0
Dumping info for thread 0x35A8
Dumping info for thread 0x2AB4
Dumping info for thread 0x30B8
Dumping info for thread 0xBFC
Dumping info for thread 0x2A28
Dumping info for thread 0x1A98
Dumping info for thread 0x300C
Dumping info for thread 0x1ECC
Dumping info for thread 0x2C2C
Dumping info for thread 0x1B8C
Dumping info for thread 0x2FEC
Dumping info for thread 0x1DFC
Dumping info for thread 0xE9C
Dumping info for thread 0x2708
Dumping info for thread 0x23FC
Dumping info for thread 0x1B0
Dumping info for thread 0xA4C
Dumping info for thread 0x3174
Dumping info for thread 0x26F4
Dumping info for thread 0x28D8
Dumping info for thread 0x2414
Dumping info for thread 0x3190
Dumping info for thread 0x302C
Dumping info for thread 0x24AC
Dumping info for thread 0x31E8
Dumping info for thread 0x2F3C
Dumping info for thread 0x3578
Dumping info for thread 0x1E38
Dumping info for thread 0x2864
Dumping info for thread 0x28B8
Dumping info for thread 0x223C
Dumping info for thread 0x31D0
Dumping info for thread 0x628
Dumping info for thread 0x1BB8
Dumping info for thread 0x3724
Dumping info for thread 0x9EC
Dumping info for thread 0x2C98
Dumping info for thread 0x2D04
Dumping info for thread 0x3AC
Dumping info for thread 0xC34
Dumping info for thread 0x2308
Dumping info for thread 0x1180
Dumping info for thread 0xC68
Dumping info for thread 0x34D4
Dumping info for thread 0x3170
Dumping info for thread 0x2228
Dumping info for thread 0x2A44
Dumping info for thread 0x113C
Dumping info for thread 0x192C
Dumping info for thread 0x3200
Dumping info for thread 0x2C80
Dumping info for thread 0x3710
Dumping info for thread 0x31E4
Dumping info for thread 0x3534
Dumping info for thread 0x2B38
Dumping info for thread 0x3554
Dumping info for thread 0x1D18
Dumping info for thread 0x2BF4
Dumping info for thread 0x11F8
Dumping info for thread 0x3218
Dumping info for thread 0x37C8
Dumping info for thread 0x2998
Dumping info for thread 0x357C
Dumping info for thread 0x1B4C
Dumping info for thread 0x2588
Dumping info for thread 0x1BC0
Dumping info for thread 0x37DC
Dumping info for thread 0x2780
Dumping info for thread 0x1BD4
Dumping info for thread 0xDB0
Dumping info for thread 0x22AC
Dumping info for thread 0x2C0C
Dumping info for thread 0x3490
Dumping info for thread 0xF28
Dumping info for thread 0x2C34
Dumping info for thread 0x23B4
Dumping info for thread 0x2C90
Dumping info for thread 0x2DD0
Dumping info for thread 0x2990
Dumping info for thread 0x2CF8
Dumping info for thread 0x2F0C
Dumping info for thread 0x3444
Dumping info for thread 0x30F8
Dumping info for thread 0x31A0
Dumping info for thread 0x2CAC
Dumping info for thread 0x31C0
Dumping info for thread 0x2730
Dumping info for thread 0x3038
Dumping info for thread 0x3034
Dumping info for thread 0xFB4
Dumping info for thread 0x37D4
Dumping info for thread 0x37C0
Dumping info for thread 0x1104
Dumping info for thread 0x31D8
Dumping info for thread 0x8B4
Dumping info for thread 0x19B4
Dumping info for thread 0x345C
Dumping info for thread 0x1C88
Dumping info for thread 0x3650
Dumping info for thread 0x2DCC
Dumping info for thread 0x1924
Dumping info for thread 0x3754
Dumping info for thread 0x860
Dumping info for thread 0x2F14
Dumping info for thread 0x29D4
Dumping info for thread 0x1EB4
Dumping info for thread 0x2680
Dumping info for thread 0x2C78
Dumping info for thread 0x2688
Dumping info for thread 0x1BF8
Dumping info for thread 0x26C0
Dumping info for thread 0x18A0
Dumping info for thread 0x2630
Dumping info for thread 0x2E10
Dumping info for thread 0x24C8
Dumping info for thread 0x2DA8
Dumping info for thread 0x27CC
Dumping info for thread 0x2804
Dumping info for thread 0x358C
Dumping info for thread 0x3510
Dumping info for thread 0x28A4
Dumping info for thread 0x19D8
Dumping info for thread 0x36DC
Dumping info for thread 0x2E28
Dumping info for thread 0x11C4
Dumping info for thread 0x2908
Dumping info for thread 0x33AC
Dumping info for thread 0x3318
Dumping info for thread 0x2560
Dumping info for thread 0x1134
Dumping info for thread 0x306C
Dumping info for thread 0x2298
Dumping info for thread 0x3310
Dumping info for thread 0x2D34
Dumping info for thread 0xFF4
Dumping info for thread 0x3004
Dumping info for thread 0x1824
Dumping info for thread 0x196C
Dumping info for thread 0x73C
Dumping info for thread 0x245C
Dumping info for thread 0x237C
Dumping info for thread 0x11A8
Dumping info for thread 0x9D8
Dumping info for thread 0x2E08
Dumping info for thread 0x774
Dumping info for thread 0x2814
Dumping info for thread 0x66C
Dumping info for thread 0x1C08
Dumping info for thread 0x3524
Dumping info for thread 0x2CA8
Dumping info for thread 0x2CBC
Dumping info for thread 0x216C
Dumping info for thread 0x2D10
Dumping info for thread 0x247C
Dumping info for thread 0x2290
Dumping info for thread 0x1794
Dumping info for thread 0x3424
Dumping info for thread 0x2DF4
Dumping info for thread 0x2B48
Dumping info for thread 0x574
Dumping info for thread 0x834
Finished creating dump.
[copying_files]
Finished copying files.
[encoding_video]
Desktop video recording disabled; skipping.
[confirm_send_report]
Restarting the application...
Application restarted OK.
[compressing_files]
Total file size for compression is 841434 bytes
Creating ZIP archive file C:\Users\Administrator\AppData\Roaming\BitComet\crash_report\f97dc36e-5d97-49d2-a85f-8043beb7f514.zip
Compressing file crashdump.dmp
Compressing file crashrpt.xml
Calculating MD5 hash for file C:\Users\Administrator\AppData\Roaming\BitComet\crash_report\f97dc36e-5d97-49d2-a85f-8043beb7f514.zip
Finished compressing files...OK
[end_compressing_files]
[sending_report]
[sending_attempt]
Sending error report over HTTP...
Preparing HTTP request data...
Calculating size of data to send.
Opening Internet connection.
Connecting to server
Opening HTTP request...
Sending HTTP request...
Ending HTTP request...
Reading server response...
Server response code: 200
Server response body:450 Crash report disc quota for this project has exceeded.
Assuming legacy method of determining delivery status (from HTTP response body).
Failed (HTTP response body doesn't start with code 200).
Error sending HTTP request.
[sending_attempt]
Sending error report over SMTP is disabled (negative priority); skipping.
[sending_attempt]
Sending error report over SMAPI is disabled (negative priority); skipping.
[status_failed]

服务器上做个垃圾清理?自动删除2天之前的崩溃报告文件,这样客户端就不会发送失败了

rm -rf /home/crash_report/`date "+%Y-%m-%d" -d "-2day"`

感谢反馈,需要运行服务器上的清理脚本了

2.20 正式版预览已打包,欢迎使用

1個讚

没修好,还是有问题,2位数MB正常,3位数或者 1010.95 MB 这种四位数的显示不正常

磁力下载点:magnet:?xt=urn:btih:SRSKUJIMPSJ5RSOUWD3VRVLJEGHJLA4E

磁力下载点2: magnet:?xt=urn:btmh:1220e008242d350a483fcdec34d89320e93a152bc9f6363ea5dd7af8026ec1bb7471

现在启用预览优化的时候,顺序下载正常了

不过测试了下,顺序下载好像只对100%完成度的种子用户起效果
假设对方是50%进度的时候,就算对方的完成区块是连续的,此时彗星客户端不会对他进行请求顺序下载,这是符合预期设计吗?

感谢反馈,下一版已修复

不符合预期。只要对方有目标分块,也应该去请求下载的

右下角的控件好像在暗色模式下颜色不是很对

我觉得也是,只有对方返回阻塞上传时,才随机请求来获取区块,毕竟顺序下载可能影响下载速度

1個讚

之前提的 单文件可用度/单文件健康度 也加一下吧

Windows Server 偶爾會當機

BC不适合伺服器用,要有心理准备