• Recent
    • Docs
    • Github
    • 百度网盘
    • Google
    • Official
    • Shop
    • Register
    • Login
    1. Cool Pi For You
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    • H

      多内核

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      2
      0 Votes
      2 Posts
      605 Views
      G

      @happyday
      以下结果来自大模型:
      在Linux中,可以通过多种方式将应用程序绑定到特定的CPU上执行,这样可以减少上下文切换,提高性能。以下是一些常用的方法:

      使用 taskset 命令:
      taskset 命令可以用来限制一个进程只能使用指定的CPU或CPU集合。使用以下命令启动一个应用程序并将其绑定到特定的CPU:

      taskset -c 0,1,2 my_application
      这将允许 my_application 只在CPU 0、1和2上运行。

      使用 nice 和 renice 命令:
      nice 命令可以在启动时设置一个进程的调度优先级,而 renice 可以更改一个已经运行的进程的优先级。这不是直接绑定CPU,但可以影响进程的调度。

      nice -n 10 --adjustment=+5 my_application
      使用 cgroups:
      cgroups(控制组)是一种Linux内核特性,它可以将进程分组,并为这些组应用特定的系统资源限制。通过 cgroups,你可以将进程绑定到特定的CPU。

      首先,创建一个新的cgroup:

      sudo cgcreate -g cpuset:/my_group
      然后,添加CPU到这个cgroup:

      sudo echo 0-2 > /sys/fs/cgroup/cpuset/my_group/cpuset.cpus
      接下来,将应用程序添加到这个cgroup:

      sudo cgclassify -g cpuset:my_group my_application
      使用 numactl 命令:
      numactl 命令用于控制NUMA(非统一内存访问)系统中的CPU和内存亲和性。它也可以用于将进程绑定到特定的CPU。

      numactl --physcpubind=0,1,2 my_application
      使用 sched_setaffinity 系统调用:
      在编程时,可以使用 sched_setaffinity 系统调用来设置进程的CPU亲和性。这需要在编写应用程序时进行设置。

      使用 top 或 htop 工具:
      在使用 top 或 htop 时,可以通过交互式命令将进程绑定到特定的CPU。在 htop 中,可以使用 ~ 键来切换“CPU绑定”模式,然后选择CPU。

      编辑 /etc/security/limits.conf:
      对于基于System V的进程控制,可以在 limits.conf 文件中设置CPU亲和性。

      请注意,绑定CPU可能会影响系统的调度器性能,并且不是所有的应用程序都会从CPU绑定中受益。在进行CPU绑定之前,应该仔细考虑应用程序的需求和系统的整体性能。

    • plumlisP

      Fedora system image? EDK2 UEFI support?

      Watching Ignoring Scheduled Pinned Locked Moved PI CM5 Laptop
      3
      1 Votes
      3 Posts
      621 Views
      plumlisP

      @george
      Nice, I'll waitting for good news.

    • plumlisP

      Cool pi Laptop v20 初步印象

      Watching Ignoring Scheduled Pinned Locked Moved PI CM5 Laptop
      1
      1 Votes
      1 Posts
      361 Views
      No one has replied
    • Y

      Other sellers of this laptop.

      Watching Ignoring Scheduled Pinned Locked Moved PI CM5 Laptop
      4
      0 Votes
      4 Posts
      429 Views
      G

      @yaitoro
      Yes, this is the official store address.

    • H

      内核问题

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      5
      0 Votes
      5 Posts
      758 Views
      J

      @happyday cpu内核运行有上下文,颗粒调度,你要独占一个核,也可以绑定操作

    • M

      通过ssh的x11转发启动程序,会报MoTTY X11 proxy: Unsupported authorisation protocol Error: cannot open display: localhost:10.0

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      2
      0 Votes
      2 Posts
      748 Views
      J

      @markerrors 有完整可复现过程?

    • T

      How to update coolpi-4b npu driver in ubuntu?

      Watching Ignoring Scheduled Pinned Locked Moved AI Algorithm npu ubuntu rknpu driver
      4
      0 Votes
      4 Posts
      2k Views
      T

      @traceback
      I found the solution in github:
      FirstSecond

    • plumlisP

      Default cpufreq driver: cpufreq-dt or cpufreq-rockchip

      Watching Ignoring Scheduled Pinned Locked Moved PI CM5 Laptop
      3
      0 Votes
      3 Posts
      629 Views
      G

      @plumlis
      对,就是这个地方,自行修改就好了。

    • H

      设备树问题

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      6
      0 Votes
      6 Posts
      910 Views
      G

      @happyday
      需要从github下载代码到机器,然后修改,编译,替换。

    • J

      dwhdmi 错误

      Watching Ignoring Scheduled Pinned Locked Moved Pi CM5
      4
      0 Votes
      4 Posts
      738 Views
      J

      @george
      插拔了几次 也清理了一下 还是一样的结果 但是不会频繁的输出i2c read err 就是HDMI还是没有输出 只是开机画面有 dmesg 变成这个了
      f316cd12-84c5-46a5-9402-4332f788375c-image.png
      我这个是V10的核心板 底板是最近才买的新底板

    • M

      Laptop install Ubuntu on nvme

      Watching Ignoring Scheduled Pinned Locked Moved Ubuntu
      22
      0 Votes
      22 Posts
      2k Views
      plumlisP

      @Momo-0 Thank for your reply.
      I think the point is pcie 3.0 /4.0
      maybe pcie 3.0 version nvme ssd should be okay.

    • G

      Coolpi Ubuntu 24.04 is coming soon!!

      Watching Ignoring Scheduled Pinned Locked Moved PI CM5 Laptop
      17
      2 Votes
      17 Posts
      3k Views
      M

      How to update to 6.x kernel?
      I tried to compile this
      https://github.com/yanyitech/coolpi-kernel/tree/linux-6.1-stan-rkr1
      Next I install kernel according to the instructions
      https://forum.cool-pi.com/topic/514/cool-pi-cm5-laptop-linux-quick-start-guide

      5.10 installed successfully but after install 6.1 it's does not booted

    • A

      Connecting a dsi display

      Watching Ignoring Scheduled Pinned Locked Moved Pi CM5
      6
      0 Votes
      6 Posts
      1k Views
      A

      @george
      Could you help? does it give this error when connecting?
      [ 8.515533] dw-mipi-dsi2 fde20000.dsi: [drm:dw_mipi_dsi2_bind] ERROR Failed to find panel or bridge: -517

    • T

      CM5使用U盘刷机失败

      Watching Ignoring Scheduled Pinned Locked Moved Pi CM5
      9
      0 Votes
      9 Posts
      1k Views
      J

      @Twsuts-0 备份还原搞定了吗

    • M

      准备使用Coolpi 4b连Raspberry Pi HQ Camera M12

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      9
      0 Votes
      9 Posts
      1k Views
      M

      @george
      收到,谢谢!
      香橙派的好像是4lan的

    • R

      how to boot from usb?

      Watching Ignoring Scheduled Pinned Locked Moved PI CM5 Laptop
      14
      0 Votes
      14 Posts
      1k Views
      R

      @george

      mkfs -t ext4 /dev/mmcblk0

      then it success

    • H

      关于系统桌面疑问

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      4
      0 Votes
      4 Posts
      1k Views
      G

      @happyday
      你是要用笔记本连接其它设备,还是其它设备远程登陆笔记本?是远程桌面还是SSH登陆?

    • 大法师大

      Coolpi 4b 镜像固件在线刷机方法

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      6
      0 Votes
      6 Posts
      3k Views
      D

      @jack_admin 872ea14f-8e53-4b04-ac6c-35beba281fae-image.png 图片中的固件20221017-ubuntu-22.04-preinstalled-desktop-arm64-coolpi-emmc-only.img在哪里可以下载?

    • G

      Explore unlimited possibilities - Coolpi 8-inch touchscreen

      Watching Ignoring Scheduled Pinned Locked Moved Peripheral
      4
      1 Votes
      4 Posts
      3k Views
      A

      @alfek Hi ,you can order it through the link :
      [https://www.aliexpress.com/item/1005007117275808.html ](link url)

    • A

      请问 yolov5_obb的模型可以使用npu吗?

      Watching Ignoring Scheduled Pinned Locked Moved Pi 4B
      3
      0 Votes
      3 Posts
      922 Views
      A

      @george 好的,谢谢

    • 1
    • 2
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 7 / 10