Jump to content

from Debian: assertion failure if hyperthreading (SMT) is supported but disabled


fabio
 Share

Recommended Posts

_SC_NPROCESSORS_CONF returns offline cores too which will cause sched_setaffinity to fail.

_SC_NPROCESSORS_ONLN is a fix but that also ignores sleeping cores, which I believe is somewhat common on power saving modes in laptops. This is unconfirmed as the documentation is not clear if sleeping cores are actually considered offline, however, there is a thread of Mozilla bugtracker about this not not counting those cores on some weird ARM setup.

Either that or don't ensure sched_setaffinity to be successful and handle offline cores I guess.

I would check but I cannot really go through the hassle of rebooting.

Edited by smiley
Link to comment
Share on other sites

16 hours ago, Stan` said:

I've never heard of it before. Don't think that code checks for hyperthreading support :/ so likely no. Can you test ?

I don't have that issue, the reporter can eventually be contacted writing to his mail address, or adding a comment in the bug at 1008531@bugs.debian.org

Link to comment
Share on other sites

Hello,

My name is Stan` I'm the 0 A.D: Empires Ascendant project leader. We were recently made aware of the issue, and no one seems to have experienced it before. 

Does it do the same if you disable hyperthreading in the BIOS rather than with a kernel flag?

We have a potential fix at: https://code.wildfiregames.com/D4669
As mentioned there an ideal fix might be to use the SDL instead, to do that stuff.

And the discussion thread is here: https://wildfiregames.com/forum/topic/81402-from-debian-assertion-failure-if-hyperthreading-smt-is-supported-but-disabled/

Best regards,

Stanislas DOLCINI

 

  • Thanks 1
Link to comment
Share on other sites

BTW, if you want to be notified of all Debian 0ad bugs, you can go there https://tracker.debian.org/pkg/0ad, register and login. Then clicking on Subscribe you can get all notifications related to 0ad (new bugs, uploads and so on).

Then make sure to repeat for https://tracker.debian.org/pkg/0ad-data.

On the two links I provided you can also see all current bugs currently opened.

  • Like 1
Link to comment
Share on other sites

  • 3 years later...

@Stan`was this addressed ?

I see your comment in https://code.wildfiregames.com/D4669#203984 :

In A26 we added another code path that uses the SDL instead, to check if functionality stays the same so it's okay if that particular code returns unplugged CPUs for now. It's only for the optin hardware detection on https://feedback.wildfiregames.com/

However _SC_NPROCESSORS_CONF is still in current master:

https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/source/lib/sysdep/os/linux/lcpu.cpp#L61

Link to comment
Share on other sites

The phab diff says changes planned, so I assume nothing was fixed. If it's still an issue please create a ticket on gitea and feel free to assign me, so I can look into it once I have time.

  • Thanks 1
Link to comment
Share on other sites

  • 4 months later...
ФК и ФСК средней толщины: 8/9/10/12/15 мм https://tdazimut.ru/prodazha-fanery/fanera-1525-1525-mm-bereza-fk/15-mm-1525-1525-24-shlifovannaya-s-odnoy-storony
Материал первого и второго сорта часто применяют качестве декоративного, третьего и четвертого — для черновой отделки https://tdazimut.ru/gidro-paroizolyaciya/antikondensatnye-i-vetrozashchitnye-plenki/plenka-onduts-sa115
Область применения: строительство и ремонт, машиностроение, изготовление рекламных конструкций, обустройство кровли https://tdazimut.ru/prodazha-fanery/8-mm

9–12 мм— оптимальна для мебели (столешницы, шкафы), полок, дверей;
Размеры фанеры регламентируются ГОСТ https://tdazimut.ru/prodazha-fanery/fanera-1525-2500-1525-2440-mm-bereza/35-mm-44-neshlifovannaya
Предусмотрены разные стандарты для материалов из хвойных и лиственных пород древесины https://tdazimut.ru/laminat/pge01800cls8033ru-l1201-01800
Кроме того, существует нормативные документы с дополнительными требованиями https://tdazimut.ru/prodazha-fanery/fanera-1220-2440-mm-berezahvoya-fsf/12-mm-44-neshlifovannaya-hvoya
Основные категории:
Фанера — это строительный материал из нескольких слоев древесного шпона, склеенных между собой синтетическими смолами https://tdazimut.ru/prodazha-fanery/fanera-1525-1525-mm-bereza-fk/20-mm-1525-1525-22-shlifovannaya-s-dvuh-storon
Число слоев варьируется, но, как правило, это нечетное количество, минимально возможное — три слоя https://tdazimut.ru/gidro-paroizolyaciya/bitumno-polimernye-membrany/membrana-bikrost-hpp-30-razmer-15-m2-15-1-stekloholst
Выпускают фанеру в форме листов разных размеров и толщины https://tdazimut.ru/laminirovannaya-fanera/1525-2440-1525-2500-mm/35-mm-pl-120-gm2-sort-11
Например, по ГОСТу максимальная длина или ширина фанеры может достигать почти 4 м, а толщина — 3 см [1].
Параметр зависит от того, в каких условиях будет использоваться шпонированный лист https://tdazimut.ru/prodazha-fanery/izdeliya-iz/pesochnicy
Если нагрузка будет:
Как делают фанеру
Сферы применения фанеры обширны: мебельное производство, черновая отделка, выстилка полов, возведение перегородок, кровли или облицовка стен https://tdazimut.ru/prodazha-fanery/fanera-1220-2440-mm-berezahvoya-fsf/9-mm-22-shlifovannaya-s-dvuh-storon
Ее также применяют во многих других областях промышленности https://tdazimut.ru/laminirovannaya-fanera/1220-2440-mm/18-mm-sort-13
Например, в судо- и вагоностроении, при производстве игрушек, музыкальных инструментов и упаковочной тары https://tdazimut.ru/laminirovannaya-fanera/1220-2440-mm/15-mm-sort-13-s-setkoy

Для пола выбирайте фанеру от 12 мм, для лестниц — от 15 мм https://tdazimut.ru/laminirovannaya-fanera/1220-2440-mm/18-mm-pl-120-gm2-sort-11-sveza

Фанеру делают из древесины, а именно шпона — тонких листов, срезанных со ствола дерева https://tdazimut.ru/opalubka/perekrytiy/gayka-ocinkovannaya-vnut-d-17mm-naruzh-d-90mm
Для производства подходят как хвойные (ель, сосна, кедр, пихта), так и лиственные породы (береза, липа, ольха) [1]. Допускается использование как одного вида древесины, так и комбинации нескольких https://tdazimut.ru/prodazha-fanery/fanera-1220-2440-mm-berezahvoya-fsf/27-mm-24shlifovannaya
Например, наружные слои делают из лиственных, а внутренние — из хвойных https://tdazimut.ru/teploizolyaciya/astratisma/tisma-plita-p-20-50-600-1200mm-10-sht-plotnost-20-kgm3
Основной породой древесины для фанеры считают ту, которая пошла на отделку наружных слоев https://tdazimut.ru/pilomaterial/doska-obreznaya/25-120-6-m

6 мм https://tdazimut.ru/prodazha-fanery/izdeliya-iz/detskie-domiki
Подходящая толщина фанеры для пола, изготовления мебели https://tdazimut.ru/prodazha-fanery/izdeliya-iz/detskie-domiki
Повышенным спросом пользуются листы 1525х1525 и 2440х1220 мм https://tdazimut.ru/laminat/pge01803cls8033ru-l1201-01803

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...