jinlife

Community Developer
  • Posts

    173
  • Joined

  • Last visited

Posts posted by jinlife

  1. On 7/28/2022 at 6:36 AM, eatoff said:

    I'm not that knowledgeable about Linux, but is the SR-IOV compatibility built into the new 6.11 RC1?

    Unraid 6.11 RC1 is based on Linux 5.18 branch but intel only has 5.15 as the latest one for now.

    There are many customized codes in intel's repository, I would say let's wait for intel to update it.

  2. On 7/10/2022 at 6:13 PM, Da_iaji said:

    It seems that only branches with yocto fields in the tags have SR-IOV related code, but I checked and it seems that only linux510 tags have yocto fields, did you port the i915 SR-IOV patch for linux510 to linux515?

    There are 2 branches of 5.15 have the SR-IOV code. I guess you need to check again. 

    Anyway, no one test it yet. I guess not many people need it.

  3. 9 minutes ago, yzzting said:

    image.thumb.png.60ece34561de0d6a8af90a1194305e28.png

     

    image.thumb.png.3e845eae4e96ba8c11bed8d1b148e803.png

     

    在虚拟机配置中出现这样的选项是不是已经算是网口直通了? 可以直通网口给虚拟机是吗?

    型号一样,位置slot不一样。勾上用就行,得关掉虚拟机才能勾,这个基本使用上网找教程吧。

    USB网卡才需要担心,Unraid没做好自动位置区分。同型号的USB网卡分不开,用起来麻烦。这也算是个老bug了,不知道是修不了还是没人修。

  4. 11 hours ago, yzzting said:

    image.thumb.png.f49e7b93635d3f556f7241392a466ee2.png

    企业微信20220722-205217@2x.png

    你这个已经有分组了,而且可以直通。看起来好像4个网口都给了Unraid了,已经在使用中,所以无法勾选。可以去Unraid的网络管理把不用的网口都删掉,桥接绑定里面也得去掉,只留一个网口就行了。

    速率看起来只有千兆,你可以排查一下网线,对面的网口是不是2.5G的。

  5. On 5/31/2022 at 5:15 PM, Acidcliff said:

    Looking at the code and commits to me it seems that Intel's LTS Kernel 5.10 has added SR-IOV support for the i915 driver. (Although nothing happened to this after the commit in on 24th Feb). Intels 5.15 LTS Kernel does not have it though. It's also not in the 5.18 Linux Kernel.

     

    Not sure in what state the updated SR-IOV driver in 5.10 is.

     

    I'm no Linux Pro so I'm also not sure if and how it is possible to compile the adapted driver and add it to the unraid kernel. But if it would be possible it would definitelly be cool :D

    Hello Acidcliff, I built a kernel with the IOV code in intel LTS Kernel 5.15. It looks fine to run but I have no 12th CPU to test the i915 SR-IOV ability.

    Would you please try it? It was built for unraid 6.10.3, please just overwrite these files to the flash drive.

    Please backup original 4 files, copying them back will revert the change.

    https://drive.google.com/drive/folders/1bAnedRHWaz7QGQAkO7xWohhnjDxSfbqS?usp=sharing

    It is just experiment, may not work. Maybe the code is not the only condition.

    Not working!!!

    • Like 1
  6. On 6/27/2022 at 11:04 PM, Each said:

    问题是这样修改之后你虚拟机能正常用么?我改过后docker能正常用,但是虚拟机更新一下之后就没网卡了都没法访问了,nas速度上来了没有桥接让虚拟机没法用了准备忍受慢速恢复回去了

    虚拟机用桥接的虚拟网卡,对Unraid本机的网络速度影响很大的。这个好像也是Unraid的硬伤。要么多搞点网卡,让虚拟机都直通物理网卡。要么虚拟机不要选virtio虚拟,而是选virtio-net虚拟,可能影响小点。不过virtio-net的网速最高就百把兆。

    另外,测试Unraid的速度的时候最好关掉所有虚拟机,有各种奇怪的影响,直通物理网卡,不直通硬盘也会有影响。 

    Docker好像没有类似影响,所以Unraid能用Docker最好多用,少用VM。

  7. 15 hours ago, xenoblade said:

    是的,应该是工作到节能模式上了

    但是unraid的节能模式怎么关搞不懂

    ethtool --set-eee eth0 eee off

    这个命令输入之后出错

    Unraid 里面我没找到过相关的。我这个集成的驱动的ASPM代码里面已经关掉了,但是BIOS里面的不知道是否还是要关掉。

    我这边倒是还关过两个地方的节能,一个是BIOS里面的网卡PCI的ASPM节能,这个可能每个主板不一样,还有一个是Windows的网卡高级属性里面也有个环保节能,另外Windows上面也得装最新的r8152的驱动。

    现在我的有线网络跑起来,Unraid(r8125)和Windows(r8156b)之间拷贝电影来回都有270~280MB/S的速度。

     

    另外,Unraid的VM虚拟机里面的virtio虚拟网卡严重影响Unraid的主机网络性能,最好关掉所有虚拟机来测试。或者用Virtio-net,或者尽量直通网卡。

  8. 3 minutes ago, itimpi said:

    As far as I know Unraid only tries to read the SMART data if it thinks the drive is active (spun-up).  Sounds as if the USB enclosures are not tending to correctly report the drive status when they have spun down the drive.

    I just tried 6.10, it should tell the right status:

    /usr/local/sbin# hdparm -C /dev/sda
    
    /dev/sda:
     drive state is:  standby

    It looks like the state is correct, but it still spin up after 15~20 minutes according to the log.

    emhttpd: read SMART /dev/sda

     

    The other SATA disks are all fine, they keep in spin down mode. Only the USB disk(sda) has problem.

    6.9.1 is working fine for all these disks.