* Re: [d-kernel] Нужна помощь по сборке ядра @ 2007-11-26 13:09 ` gosha 2007-11-26 17:54 ` [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? gosha ` (2 subsequent siblings) 3 siblings, 0 replies; 9+ messages in thread From: gosha @ 2007-11-26 13:09 UTC (permalink / raw) To: devel-kernel >То паника, то просто зависает на initramfs (и вообще что это такое - может >кто подскажет.) Новый lilo.conf в студию. .config в студию В результате сборки у Вас получилось; /lib/modules/2.6.23.8/...... bzImage-2.6.23.8 initrd-2.6.23.8.img bzImage-2.6.23.8 initrd-2.6.23.8.img добавлены в lilo как вариант загрузки? -- С Уваженим, gosha. ^ permalink raw reply [flat|nested] 9+ messages in thread
* [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? 2007-11-26 13:09 ` [d-kernel] Нужна помощь по сборке ядра gosha @ 2007-11-26 17:54 ` gosha 2007-11-26 15:10 ` Konstantin A. Lepikhov 2007-11-26 20:06 ` Michael Shigorin 2007-11-27 11:18 ` gosha 3 siblings, 2 replies; 9+ messages in thread From: gosha @ 2007-11-26 17:54 UTC (permalink / raw) To: devel-kernel Добрый день. Требуется спректировать (аппаратуру (Зеленоград)) SMP процессорную плату (c 4 CPU на борту) и запустить на ней linux. Подскажите, где бы можно почитать- как linux работает на SMP машинах? Интересовала бы информация такого плана: т.е. ядро работает на одном cpu- на другой передаются только процессы для обработки (типа получаемые ,например, fork())... или на кажном процессоре- своя копия ядра... и т.п. Спасибо. -- С Уваженим, gosha. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? 2007-11-26 17:54 ` [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? gosha @ 2007-11-26 15:10 ` Konstantin A. Lepikhov 2007-11-26 20:06 ` Michael Shigorin 1 sibling, 0 replies; 9+ messages in thread From: Konstantin A. Lepikhov @ 2007-11-26 15:10 UTC (permalink / raw) To: devel-kernel Hi gosha! Monday 26, at 05:54:35 PM you wrote: > Добрый день. > > > Требуется спректировать (аппаратуру (Зеленоград)) SMP процессорную плату (c 4 > CPU на борту) и запустить на ней linux. > > Подскажите, где бы можно почитать- как linux работает на SMP машинах? > > Интересовала бы информация такого плана: > > т.е. ядро работает на одном cpu- на другой передаются только процессы для > обработки (типа получаемые ,например, fork())... > > или на кажном процессоре- своя копия ядра... > > и т.п. > > > Спасибо. > > http://www.moses.uklinux.net/patches/lki.html -- WBR et al. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? 2007-11-26 17:54 ` [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? gosha 2007-11-26 15:10 ` Konstantin A. Lepikhov @ 2007-11-26 20:06 ` Michael Shigorin 1 sibling, 0 replies; 9+ messages in thread From: Michael Shigorin @ 2007-11-26 20:06 UTC (permalink / raw) To: devel-kernel On Mon, Nov 26, 2007 at 05:54:35PM +0000, gosha wrote: > Подскажите, где бы можно почитать- как linux работает на SMP машинах? Один образ на все процессоры. > Интересовала бы информация такого плана: > т.е. ядро работает на одном cpu- на другой передаются > только процессы для обработки (типа получаемые ,например, > fork())... > или на кажном процессоре- своя копия ядра... Нет, конечно. Это уже кластеры. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <200711271109.59630.gosha@elins.ru>]
* Re: [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? @ 2007-11-27 8:29 ` Michael Shigorin 2007-11-27 20:01 ` Konstantin A. Lepikhov 0 siblings, 1 reply; 9+ messages in thread From: Michael Shigorin @ 2007-11-27 8:29 UTC (permalink / raw) To: devel-kernel On Tue, Nov 27, 2007 at 11:09:59AM +0000, gosha wrote: > ?????? ????. Ой, plaintext'овая часть письма умерла (как 7bit). > M_S>Один образ на все процессоры. > - Т.е. все как в классической Symmetric multiprocessing (SMP). Ну Вы же про SMP спрашивали? > напр www.qnx.com/developers/docs/6.3.0SP3/neutrino/sys_arch/smp.html > A single instantiation of an OS manages all CPUs > simultaneously, and applications can float to any of them. > Информация по все ссылкам google: (linux & smp) не богата > здравым описанием- как все происходит. Я бы отталкивался от SMP-HOWTO (http://tldp.org/HOWTO/SMP-HOWTO-3.html и далее)... > Но, как понял из Ваших слов и doc по qnx, - в RAM лежит один > образ Linux. ответы на вопросы: > - является ли один проц ведущим. или все равноправны По крайней мере один процессор бутается первым (его ещё как-то там обзывали -- bootstrap CPU, что ли), на нём поднимается ядро до точки, когда можно стартовать остальные (довольно рано -- до драйверов и подобного). Так что по крайней мере в этом они уже неравноправны. Судя по top на двух-четырёхпроцессорных системах под рукой, на первый процессор также обычно склонно распределяться больше задач -- бишь с него начинается "раздача". > - процы выполняют один и тот же кусок кода, или scheduler > работатет только на одном проце... Тут не знаю, лучше сходите на http://kernelnewbies.org -- там опытные люди помогают въехать в ядро тем, кто к нему только приступает (есть рассылка, форум и IRC-канал, помимо вики). По SMP там сходу нашлось только это: http://kernelnewbies.org/SMPSynchronisation Может быть также интересно для общего образования: http://www.kniggit.net/wwol26.html -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? 2007-11-27 8:29 ` Michael Shigorin @ 2007-11-27 20:01 ` Konstantin A. Lepikhov 2007-11-27 22:32 ` Michael Shigorin 0 siblings, 1 reply; 9+ messages in thread From: Konstantin A. Lepikhov @ 2007-11-27 20:01 UTC (permalink / raw) To: devel-kernel Hi Michael! Tuesday 27, at 10:29:35 AM you wrote: <skip> > > Но, как понял из Ваших слов и doc по qnx, - в RAM лежит один > > образ Linux. ответы на вопросы: > > - является ли один проц ведущим. или все равноправны > > По крайней мере один процессор бутается первым (его ещё как-то > там обзывали -- bootstrap CPU, что ли), на нём поднимается ядро > до точки, когда можно стартовать остальные (довольно рано -- до > драйверов и подобного). Так что по крайней мере в этом они уже > неравноправны. Чорт, да почитайте lki, там же весь процесс загрузки на SMP описан. Тошнит от этих "я думаю", "мне кажется". -- WBR et al. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? 2007-11-27 20:01 ` Konstantin A. Lepikhov @ 2007-11-27 22:32 ` Michael Shigorin 2007-11-27 22:51 ` Konstantin A. Lepikhov 0 siblings, 1 reply; 9+ messages in thread From: Michael Shigorin @ 2007-11-27 22:32 UTC (permalink / raw) To: devel-kernel On Tue, Nov 27, 2007 at 11:01:06PM +0300, Konstantin A. Lepikhov wrote: > > > Но, как понял из Ваших слов и doc по qnx, - в RAM лежит > > > один образ Linux. ответы на вопросы: - является ли один > > > проц ведущим. или все равноправны > > По крайней мере один процессор бутается первым (его ещё > > как-то там обзывали -- bootstrap CPU, что ли), на нём > > поднимается ядро до точки, когда можно стартовать остальные > > (довольно рано -- до драйверов и подобного). Так что по > > крайней мере в этом они уже неравноправны. > Чорт, да почитайте lki, там же весь процесс загрузки на SMP > описан. Тошнит от этих "я думаю", "мне кажется". Тошнит от трёхбуквенных акронимов :) Ссылку, барин, или хотя бы linux kernel чего -- internals? (не думаю, что ты подробней выскажешься, если вдруг столкнёшься с вопросом о структуре фуллеренов) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? 2007-11-27 22:32 ` Michael Shigorin @ 2007-11-27 22:51 ` Konstantin A. Lepikhov 0 siblings, 0 replies; 9+ messages in thread From: Konstantin A. Lepikhov @ 2007-11-27 22:51 UTC (permalink / raw) To: shigorin, ALT Linux kernel packages development Hi Michael! Wednesday 28, at 12:32:38 AM you wrote: > On Tue, Nov 27, 2007 at 11:01:06PM +0300, Konstantin A. Lepikhov wrote: > > > > Но, как понял из Ваших слов и doc по qnx, - в RAM лежит > > > > один образ Linux. ответы на вопросы: - является ли один > > > > проц ведущим. или все равноправны > > > По крайней мере один процессор бутается первым (его ещё > > > как-то там обзывали -- bootstrap CPU, что ли), на нём > > > поднимается ядро до точки, когда можно стартовать остальные > > > (довольно рано -- до драйверов и подобного). Так что по > > > крайней мере в этом они уже неравноправны. > > Чорт, да почитайте lki, там же весь процесс загрузки на SMP > > описан. Тошнит от этих "я думаю", "мне кажется". > > Тошнит от трёхбуквенных акронимов :) Ссылку, барин, или хотя бы > linux kernel чего -- internals? сцылка есть в сообщении с Message-ID: <20071126151057.GA6833@lks.home> > > (не думаю, что ты подробней выскажешься, если вдруг столкнёшься > с вопросом о структуре фуллеренов) > -- WBR et al. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? ` (2 preceding siblings ...) @ 2007-11-27 11:18 ` gosha 3 siblings, 0 replies; 9+ messages in thread From: gosha @ 2007-11-27 11:18 UTC (permalink / raw) To: devel-kernel M_S> Один образ на все процессоры - т.е. все как в классической Symmetric multiprocessing (SMP). напр.: www.qnx.com/developers/docs/6.3.0SP3/neutrino/sys_arch/smp.html A single instantiation of an OS manages all CPUs simultaneously, and applications can float to any of them. Информация google: (linux & smp) не богата здравым описанием,- как все происхолдит. Ответы на вопроcы: - является ли один проц ведущим? - все процессоры исполняют один и тот же кусок кода, или scheduler выполняется на одной машине... . . . не нашел ни в одном описании linux & smp. - необходимо читать описание классической smp ? ------- С Уважением, gosha. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-11-27 22:51 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-11-26 13:09 ` [d-kernel] Нужна помощь по сборке ядра gosha 2007-11-26 17:54 ` [d-kernel] Подскажите , где бы можно почитать- как linux работает на SMP машинах? gosha 2007-11-26 15:10 ` Konstantin A. Lepikhov 2007-11-26 20:06 ` Michael Shigorin 2007-11-27 8:29 ` Michael Shigorin 2007-11-27 20:01 ` Konstantin A. Lepikhov 2007-11-27 22:32 ` Michael Shigorin 2007-11-27 22:51 ` Konstantin A. Lepikhov 2007-11-27 11:18 ` gosha
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git