* [devel] Q: cpuid/cpuid2 @ 2008-10-08 17:06 Dmitry V. Levin 2008-10-08 19:48 ` Michael Shigorin 2008-10-08 20:36 ` Mike A. Plugnikov 0 siblings, 2 replies; 13+ messages in thread From: Dmitry V. Levin @ 2008-10-08 17:06 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 134 bytes --] Hi, Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, расположение исполняемых файлов вызывает вопросы. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 17:06 [devel] Q: cpuid/cpuid2 Dmitry V. Levin @ 2008-10-08 19:48 ` Michael Shigorin 2008-10-08 21:15 ` Anton Farygin 2008-10-08 20:36 ` Mike A. Plugnikov 1 sibling, 1 reply; 13+ messages in thread From: Michael Shigorin @ 2008-10-08 19:48 UTC (permalink / raw) To: ALT Devel discussion list On Wed, Oct 08, 2008 at 09:06:05PM +0400, Dmitry V. Levin wrote: > Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, > расположение исполняемых файлов вызывает вопросы. Не знаю, но было бы очень клёво что-то придумать к Desktop 4.1.1, чтоб смотрело на процессор и хотя бы для типичных случаев грузило модули регулировки частоты. Соответственно если выйдет и rider@ поможет, попробую добраться. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 19:48 ` Michael Shigorin @ 2008-10-08 21:15 ` Anton Farygin 2008-10-08 21:23 ` Dmitry V. Levin 0 siblings, 1 reply; 13+ messages in thread From: Anton Farygin @ 2008-10-08 21:15 UTC (permalink / raw) To: ALT Linux Team development discussions Michael Shigorin пишет: > On Wed, Oct 08, 2008 at 09:06:05PM +0400, Dmitry V. Levin wrote: >> Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, >> расположение исполняемых файлов вызывает вопросы. > > Не знаю, но было бы очень клёво что-то придумать к Desktop 4.1.1, > чтоб смотрело на процессор и хотя бы для типичных случаев грузило > модули регулировки частоты. > > Соответственно если выйдет и rider@ поможет, попробую добраться. cpuid/cpuid2 не стоит использовать. Для детекта процессора сейчас можно написать маленький скрипт на шелл. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 21:15 ` Anton Farygin @ 2008-10-08 21:23 ` Dmitry V. Levin 2008-10-08 21:24 ` Anton Farygin 0 siblings, 1 reply; 13+ messages in thread From: Dmitry V. Levin @ 2008-10-08 21:23 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 852 bytes --] On Thu, Oct 09, 2008 at 01:15:13AM +0400, Anton Farygin wrote: > Michael Shigorin пишет: > >On Wed, Oct 08, 2008 at 09:06:05PM +0400, Dmitry V. Levin wrote: > >>Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, > >>расположение исполняемых файлов вызывает вопросы. > > > >Не знаю, но было бы очень клёво что-то придумать к Desktop 4.1.1, > >чтоб смотрело на процессор и хотя бы для типичных случаев грузило > >модули регулировки частоты. > > > >Соответственно если выйдет и rider@ поможет, попробую добраться. > > cpuid/cpuid2 не стоит использовать. Вообще? Между прочим, пакет cpuid ни за кем не числится, а пакет cpuid2 числится за мантейнером, который в этом году не подаёт признаков активности. Короче говоря, если эти пакеты не стоит использовать и они ни за кем не числятся, то зачем они в Сизифе? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 21:23 ` Dmitry V. Levin @ 2008-10-08 21:24 ` Anton Farygin 2008-10-08 21:29 ` Dmitry V. Levin 0 siblings, 1 reply; 13+ messages in thread From: Anton Farygin @ 2008-10-08 21:24 UTC (permalink / raw) To: ALT Linux Team development discussions Dmitry V. Levin пишет: > On Thu, Oct 09, 2008 at 01:15:13AM +0400, Anton Farygin wrote: >> Michael Shigorin пишет: >>> On Wed, Oct 08, 2008 at 09:06:05PM +0400, Dmitry V. Levin wrote: >>>> Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, >>>> расположение исполняемых файлов вызывает вопросы. >>> Не знаю, но было бы очень клёво что-то придумать к Desktop 4.1.1, >>> чтоб смотрело на процессор и хотя бы для типичных случаев грузило >>> модули регулировки частоты. >>> >>> Соответственно если выйдет и rider@ поможет, попробую добраться. >> cpuid/cpuid2 не стоит использовать. > > Вообще? Между прочим, пакет cpuid ни за кем не числится, а пакет cpuid2 > числится за мантейнером, который в этом году не подаёт признаков активности. > > Короче говоря, если эти пакеты не стоит использовать и они ни за кем не > числятся, то зачем они в Сизифе? Да, смысла от них никакого - просто выводит информацию, при чём новые CPU уже не поддерживает. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 21:24 ` Anton Farygin @ 2008-10-08 21:29 ` Dmitry V. Levin 2008-10-08 21:33 ` Anton Farygin 2008-10-09 4:56 ` Serge Ryabchun 0 siblings, 2 replies; 13+ messages in thread From: Dmitry V. Levin @ 2008-10-08 21:29 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1168 bytes --] On Thu, Oct 09, 2008 at 01:24:28AM +0400, Anton Farygin wrote: > Dmitry V. Levin пишет: > >On Thu, Oct 09, 2008 at 01:15:13AM +0400, Anton Farygin wrote: > >>Michael Shigorin пишет: > >>>On Wed, Oct 08, 2008 at 09:06:05PM +0400, Dmitry V. Levin wrote: > >>>>Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, > >>>>расположение исполняемых файлов вызывает вопросы. > >>>Не знаю, но было бы очень клёво что-то придумать к Desktop 4.1.1, > >>>чтоб смотрело на процессор и хотя бы для типичных случаев грузило > >>>модули регулировки частоты. > >>> > >>>Соответственно если выйдет и rider@ поможет, попробую добраться. > >>cpuid/cpuid2 не стоит использовать. > > > >Вообще? Между прочим, пакет cpuid ни за кем не числится, а пакет cpuid2 > >числится за мантейнером, который в этом году не подаёт признаков > >активности. > > > >Короче говоря, если эти пакеты не стоит использовать и они ни за кем не > >числятся, то зачем они в Сизифе? > > Да, смысла от них никакого - просто выводит информацию, при чём новые > CPU уже не поддерживает. OK, а как теперь принято просто смотреть информацию о современных процессорах? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 21:29 ` Dmitry V. Levin @ 2008-10-08 21:33 ` Anton Farygin 2008-10-08 23:16 ` Mike A. Plugnikov 2008-10-09 4:56 ` Serge Ryabchun 1 sibling, 1 reply; 13+ messages in thread From: Anton Farygin @ 2008-10-08 21:33 UTC (permalink / raw) To: ALT Linux Team development discussions Dmitry V. Levin пишет: > On Thu, Oct 09, 2008 at 01:24:28AM +0400, Anton Farygin wrote: >> Dmitry V. Levin пишет: >>> On Thu, Oct 09, 2008 at 01:15:13AM +0400, Anton Farygin wrote: >>>> Michael Shigorin пишет: >>>>> On Wed, Oct 08, 2008 at 09:06:05PM +0400, Dmitry V. Levin wrote: >>>>>> Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, >>>>>> расположение исполняемых файлов вызывает вопросы. >>>>> Не знаю, но было бы очень клёво что-то придумать к Desktop 4.1.1, >>>>> чтоб смотрело на процессор и хотя бы для типичных случаев грузило >>>>> модули регулировки частоты. >>>>> >>>>> Соответственно если выйдет и rider@ поможет, попробую добраться. >>>> cpuid/cpuid2 не стоит использовать. >>> Вообще? Между прочим, пакет cpuid ни за кем не числится, а пакет cpuid2 >>> числится за мантейнером, который в этом году не подаёт признаков >>> активности. >>> >>> Короче говоря, если эти пакеты не стоит использовать и они ни за кем не >>> числятся, то зачем они в Сизифе? >> Да, смысла от них никакого - просто выводит информацию, при чём новые >> CPU уже не поддерживает. > > OK, а как теперь принято просто смотреть информацию о современных > процессорах? cat /proc/cpuinfo всё расскажет. Или тебе хочется большего ? тогда - что именно ? cpuscan писался глядучи в cpuid, но для него нужно постоянно обновлять (ручками) базу в hwdatabase (врочем, для cpuid эту же базу нужно хардкодить в код). Данные для базы можно теоретически брать с сайтов производителей процессоров. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 21:33 ` Anton Farygin @ 2008-10-08 23:16 ` Mike A. Plugnikov 2008-10-09 7:37 ` Anton Farygin 0 siblings, 1 reply; 13+ messages in thread From: Mike A. Plugnikov @ 2008-10-08 23:16 UTC (permalink / raw) To: ALT Linux Team development discussions On Thursday 09 October 2008 01:33:02 Anton Farygin wrote: > Dmitry V. Levin пишет: > > On Thu, Oct 09, 2008 at 01:24:28AM +0400, Anton Farygin wrote: > >> Dmitry V. Levin пишет: > >>> On Thu, Oct 09, 2008 at 01:15:13AM +0400, Anton Farygin wrote: > >>>> Michael Shigorin пишет: > >>>>> On Wed, Oct 08, 2008 at 09:06:05PM +0400, Dmitry V. Levin wrote: > >>>>>> Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, > >>>>>> расположение исполняемых файлов вызывает вопросы. > >>>>> > >>>>> Не знаю, но было бы очень клёво что-то придумать к Desktop 4.1.1, > >>>>> чтоб смотрело на процессор и хотя бы для типичных случаев грузило > >>>>> модули регулировки частоты. > >>>>> > >>>>> Соответственно если выйдет и rider@ поможет, попробую добраться. > >>>> > >>>> cpuid/cpuid2 не стоит использовать. > >>> > >>> Вообще? Между прочим, пакет cpuid ни за кем не числится, а пакет > >>> cpuid2 числится за мантейнером, который в этом году не подаёт признаков > >>> активности. > >>> > >>> Короче говоря, если эти пакеты не стоит использовать и они ни за кем не > >>> числятся, то зачем они в Сизифе? > >> > >> Да, смысла от них никакого - просто выводит информацию, при чём новые > >> CPU уже не поддерживает. > > > > OK, а как теперь принято просто смотреть информацию о современных > > процессорах? > > cat /proc/cpuinfo всё расскажет. > > Или тебе хочется большего ? тогда - что именно ? > > cpuscan писался глядучи в cpuid, но для него нужно постоянно обновлять > (ручками) базу в hwdatabase (врочем, для cpuid эту же базу нужно > хардкодить в код). Данные для базы можно теоретически брать с сайтов > производителей процессоров. > например, что точно умеет процессор (x86_64, поддержка виртуализации и т.д.). ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 23:16 ` Mike A. Plugnikov @ 2008-10-09 7:37 ` Anton Farygin 2008-10-09 7:51 ` Kirill A. Shutemov 0 siblings, 1 reply; 13+ messages in thread From: Anton Farygin @ 2008-10-09 7:37 UTC (permalink / raw) To: ALT Linux Team development discussions Mike A. Plugnikov пишет: > On Thursday 09 October 2008 01:33:02 Anton Farygin wrote: <skip> >> cat /proc/cpuinfo всё расскажет. >> >> Или тебе хочется большего ? тогда - что именно ? >> >> cpuscan писался глядучи в cpuid, но для него нужно постоянно обновлять >> (ручками) базу в hwdatabase (врочем, для cpuid эту же базу нужно >> хардкодить в код). Данные для базы можно теоретически брать с сайтов >> производителей процессоров. >> > например, что точно умеет процессор (x86_64, поддержка виртуализации и т.д.). Это расскажет cat /proc/cpuinfo ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-09 7:37 ` Anton Farygin @ 2008-10-09 7:51 ` Kirill A. Shutemov 2008-10-09 7:59 ` Anton Farygin 0 siblings, 1 reply; 13+ messages in thread From: Kirill A. Shutemov @ 2008-10-09 7:51 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1096 bytes --] On Thu, Oct 09, 2008 at 11:37:53AM +0400, Anton Farygin wrote: > Mike A. Plugnikov пишет: > > On Thursday 09 October 2008 01:33:02 Anton Farygin wrote: > <skip> > >> cat /proc/cpuinfo всё расскажет. > >> > >> Или тебе хочется большего ? тогда - что именно ? > >> > >> cpuscan писался глядучи в cpuid, но для него нужно постоянно обновлять > >> (ручками) базу в hwdatabase (врочем, для cpuid эту же базу нужно > >> хардкодить в код). Данные для базы можно теоретически брать с сайтов > >> производителей процессоров. > >> > > например, что точно умеет процессор (x86_64, поддержка виртуализации и т.д.). > > Это расскажет cat /proc/cpuinfo AT_HWCAP проще. Парсить не нужно. -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-09 7:51 ` Kirill A. Shutemov @ 2008-10-09 7:59 ` Anton Farygin 0 siblings, 0 replies; 13+ messages in thread From: Anton Farygin @ 2008-10-09 7:59 UTC (permalink / raw) To: ALT Linux Team development discussions Kirill A. Shutemov пишет: > On Thu, Oct 09, 2008 at 11:37:53AM +0400, Anton Farygin wrote: >> Mike A. Plugnikov пишет: >>> On Thursday 09 October 2008 01:33:02 Anton Farygin wrote: >> <skip> >>>> cat /proc/cpuinfo всё расскажет. >>>> >>>> Или тебе хочется большего ? тогда - что именно ? >>>> >>>> cpuscan писался глядучи в cpuid, но для него нужно постоянно обновлять >>>> (ручками) базу в hwdatabase (врочем, для cpuid эту же базу нужно >>>> хардкодить в код). Данные для базы можно теоретически брать с сайтов >>>> производителей процессоров. >>>> >>> например, что точно умеет процессор (x86_64, поддержка виртуализации и т.д.). >> Это расскажет cat /proc/cpuinfo > > AT_HWCAP проще. Парсить не нужно. Это если в коде, а если глазками, то проще cat ;) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 21:29 ` Dmitry V. Levin 2008-10-08 21:33 ` Anton Farygin @ 2008-10-09 4:56 ` Serge Ryabchun 1 sibling, 0 replies; 13+ messages in thread From: Serge Ryabchun @ 2008-10-09 4:56 UTC (permalink / raw) To: ALT Linux Team development discussions 2008/10/9 Dmitry V. Levin <ldv@altlinux.org>: > > OK, а как теперь принято просто смотреть информацию о современных > процессорах? > 1. парсить /proc/cpuinfo 2. в glibc взять _rtld_global_ro._dl_hwcap, описан в /glibc/sysdeps/generic/ldsodefs.h 3. забрать AT_HWCAP, собственно это и лежит в _rtld_global_ro._dl_hwcap для 2 и 3 нужно <asm/cpufeature.h> -- Рябчун Сергей <serge.ryabchun@gmail.com> ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] Q: cpuid/cpuid2 2008-10-08 17:06 [devel] Q: cpuid/cpuid2 Dmitry V. Levin 2008-10-08 19:48 ` Michael Shigorin @ 2008-10-08 20:36 ` Mike A. Plugnikov 1 sibling, 0 replies; 13+ messages in thread From: Mike A. Plugnikov @ 2008-10-08 20:36 UTC (permalink / raw) To: ALT Devel discussion list On Wednesday 08 October 2008 21:06:05 Dmitry V. Levin wrote: > Hi, > > Что у нас с пакетами cpuid/cpuid2? Оба выглядят протухшими, > расположение исполняемых файлов вызывает вопросы. Есть ещё idcpu. Тоже возможно протухший ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-10-09 7:59 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-10-08 17:06 [devel] Q: cpuid/cpuid2 Dmitry V. Levin 2008-10-08 19:48 ` Michael Shigorin 2008-10-08 21:15 ` Anton Farygin 2008-10-08 21:23 ` Dmitry V. Levin 2008-10-08 21:24 ` Anton Farygin 2008-10-08 21:29 ` Dmitry V. Levin 2008-10-08 21:33 ` Anton Farygin 2008-10-08 23:16 ` Mike A. Plugnikov 2008-10-09 7:37 ` Anton Farygin 2008-10-09 7:51 ` Kirill A. Shutemov 2008-10-09 7:59 ` Anton Farygin 2008-10-09 4:56 ` Serge Ryabchun 2008-10-08 20:36 ` Mike A. Plugnikov
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git