Linux

Linux: HyperThreading-képes ütemező benchmark

Címkék

Augusztus 30-án írtam az Intel által kifejlesztett HyperThreading (HT) technológiáról, és az azt kihasználó Linux ütemezőről. A HT az Intel Xeon processzorokban van jelen. A technológia lényege, hogy egy fizikai CPU képes azt "hazudni", hogy ő valójában több (többnyire 2), és képes ezen az egy fizikai processzoron a több szálon futó alkalmazásokat párhuzamosan futtatni. Így akár 40%-os teljesítmény-növekedést is kaphatunk egyes alkalmazásoknál [korábbi cikk].Allan McKinnon most közzétett néhány teszteredményt a Molnár Ingó féle HyperThreading-et tudó scheduler-ről. A tesztek során a HT patchelt O(1) scheduler-rel ellátott 2.5.33-HT kernelt hasonlította össze a stock 2.5.33, és a 2.4.8-10bigmem kernelekkel. A teszteléshez a kernel fordítását használta mérőeszközként, növelve a threadek számát minden tesztben. Az összes teszteredmény egészen meggyőző, jelentős teljesítményjavulást mutatva akkor, amikor a patchelt ütemező egy vagy kettő aktív taszkot futtatott.

Az eredményeket megnézheted itt.

Kapcsolódó linkek:

Hyper-Threading technológia a Linuxban

Linus Torvalds: Linux 2.5.34

Címkék

Itt az új fejlesztői kernel. Néhány alapvető hibajavítás, néhány régóta húzódó bug fixálása. A "per-cpu" macrók továbbra sem tökéletesek. Viszont a floppy driver újra működik! Ezen kívül ami említésre méltó még az a ReiserFS és JFS frissítések.

Letölthető patch-2.5.34.gz, FULL

Full changelog: ChangeLog-2.5.34

archLSB Intel Itanium architektúrára

Címkék

A Linux Standards Base (LSB) bejelentette a széles körű elérhetőségét annak az általuk készített ismertetőnek, amelyet az Intel Itanium Architektúra "archLSB-IA64" ABI specifikációról készítettek. A publikus felülvizsgálat 2002. szeptember. 6-án kezdődött, és 2002. szeptember 27-ig fog tartani. A készítők szívesen fogadnak minden hozzászólást, ötletet, kritikát, változtatási kérelmet. Ezeket a fent említett linken lehet elkövetni.

Linux: új kernel konfigurációs rendszer - qconf

Címkék

Roman Zippel kiadta a legújabb verzióját az új kernel konfigurációs rendszerének. A stuff jelenleg a 0.4-es verziónál tart, és egyelőre csak a 2.5 fejlesztői kernelhez használható. A cél, lecserélni a jelenlegi CML konfigurátort, amelyet jelenleg használunk. A szerző célja, hogy egyszerűbbé tegye a kernel konfigurációt ezzel az új eszközzel, szemben a jelenleg használatos konfigurátorral. Reméli, hogy az általa készített konfigurátor bekerül a 2.5-ös kernelbe.

Néhány kép működés közben:

ALSA konfiguráció, preempt konfiguráció, beállítások elmentése

A stuff letölthető innen.

Roman Zippel levele:From: Roman Zippel

To: linux-kernel

Subject: linux kernel conf 0.4

Date: Thu, 05 Sep 2002 02:11:43 +0200

Hi,

At http://www.xs4all.nl/~zippel/lc/lkc-0.4.tar.gz you can find the latest version of my config system. It slowly is becoming completely usable, so it's time for a new release. A lot has changed since the last official release, so here only some

highlights:

- correct dependencies for the config files are now generated, "make oldconfig" isn't needed anymore in many cases (you should try it before making any comments about it).

- config rulebase is with some small (known) exceptions the same in the old and new syntax, even comments are now preserved.

- menuconfig is working again. Except of xconfig the user interface is almost as before, anything you could do before, you still can do.

- it's much faster in the common case.

- clean separation between frontends and backend.

Installation is very simple with "make install KERNELSRC=", where KERNELSRC points to a 2.5.33 kernel tree. "make uninstall KERNELSRC=" will deinstall everything. I think the new system is ready for wider testing, so any feedback is

very much appreciated. Most important is probably the new syntax, until it it's integrated I can easily change the converter to generate whatever syntax. I still have to update the documentation, but the syntax should be easily understandable even without it. For the lazy guys out there, here is an (already advanced) example:

choice

prompt "Adaptec AIC7xxx support"

optional

depends SCSI

config SCSI_AIC7XXX

tristate "New driver"

help

...

config AIC7XXX_CMDS_PER_DEVICE

int "Maximum number of TCQ commands per device"

depends SCSI_AIC7XXX

default "253"

help

...

config AIC7XXX_RESET_DELAY_MS

int "Initial bus reset delay in milli-seconds"

depends SCSI_AIC7XXX

default "15000"

help

...

config AIC7XXX_BUILD_FIRMWARE

boolean "Build Adapter Firmware with Kernel Build"

depends SCSI_AIC7XXX

config SCSI_AIC7XXX_OLD

tristate "Old driver"

help

...

config AIC7XXX_OLD_TCQ_ON_BY_DEFAULT

boolean "Enable Tagged Command Queueing (TCQ) by default"

depends SCSI_AIC7XXX_OLD

help

...

config AIC7XXX_OLD_CMDS_PER_DEVICE

int "Maximum number of TCQ commands per device"

depends SCSI_AIC7XXX_OLD

default "8"

help

...

config AIC7XXX_OLD_PROC_STATS

boolean "Collect statistics to report in /proc"

depends SCSI_AIC7XXX_OLD

help

...

endchoice

This new syntax basically fixes the recursive dependencies in the old syntax:

if [ "$CONFIG_SCSI_AIC7XXX_OLD" != "y" ]; then

dep_tristate 'Adaptec AIC7xxx support' CONFIG_SCSI_AIC7XXX

$CONFIG_SCSI

if [ "$CONFIG_SCSI_AIC7XXX" != "n" ]; then

...

fi

fi

if [ "$CONFIG_SCSI_AIC7XXX" != "y" ]; then

dep_tristate 'Old Adaptec AIC7xxx support' CONFIG_SCSI_AIC7XXX_OLD

$CONFIG_SCSI

if [ "$CONFIG_SCSI_AIC7XXX_OLD" != "n" ]; then

...

fi

fi

The most important thing here is that you now always see that there is a choice between two drivers. For example in menuconfig you had to know that you have to disable one option to see the other option or if you have an old .config, which doesn't contain CONFIG_SCSI_AIC7XXX_OLD, but has CONFIG_SCSI_AIC7XXX set to 'y', "make oldconfig" won't tell you about the new option.

Anyway, back to the new syntax. One thing I'm not yet completely sure about is indention, as it might help to make above more easily readable. The parser automatically recognizes the suboptions (by analyzing the dependencies) and the frontends present them accordingly (how exactly

you should try yourself :) ). The problem here are the help texts, they should be easily editable, but on the other hand the parser has to find where it ends (and possibly reformat it a bit). Right now the help text simply ends at the first line that doesn't start with a white-space. So I'm toying with various ideas to make the suboption more easily recognizable, e.g. they could also be put within an "if FOO" ... "endif" block.

Something else above example demonstrates is the default value, first, bool and tristate symbols can have default values as well and second, something like this is possible:

config FOO

bool 'bar' if BAR

default y

The default value has two meanings here, first it's used as default value for the prompt and if the prompt isn't visible, FOO is set to it. This is quite useful for some of the advanced config options.

That's it for now, so have fun and complain _now_, not when it's too late. :)

bye, Roman

Linux: Nagy teljesítményű kernel patchset

Címkék

O(1) scheduler, batch scheduling, low latency, kernel preemption - all in one ;-)

Con Kolivas egy jó kis patch gyűjteményt tart karban, amely "teljesítmény növelésre van tervezve, javítja a rendszer válaszidejét, hangsúlyosan a desktop PC-ken". A legutolsó patcheket tartalmazza amelyeket a 2.4.19-es stabil kernelhez kell használni. Olyan új funkciókat ad a kernelhez mint a Molnár Ingó féle O(1) scheduler [korábbi cikk], kötegelt ütemezés (batch scheduling), Robert M. Love féle kernel preemptivitás [korábbi cikk], Andrew Morton alacsony lappangás (low latency) és az Andrea Arcangeli féle legutolsó -aa VM teljesítmény javítások. Igazi tuning stuff, melynek előnye, hogy ezeket a különálló patcheket egy összecsiszolt formában kapjuk, nem nekünk kell esetlegesen a patchelési, fordítási hibákat kiküszöbölni. Akinek nem tetszik az AA féle VM, az opcionálisan használhatja a Rik van Riel féle -rmap VM-et [korábbi cikk] is hozzá.



A -ck patchset letölthető a kernel.org mirrorokról, mondjuk innen.

Általános számlázó program béta XBASE motorral és hálózati üzemre

Címkék

Letölthető a http://www.lafisoft.hu/raktarlinux2.htm oldalról az Általános raktárkészlet kezelő és Számlázó program xbase motorra adoptált beta verziója.

Ez a verzió támogatja a hálózati müködést. Sebessége megközelíti a méltán népszerű Clipper programok teljesítményét, megbízhatóságát, stabilitását, ötvözve az X felület kényelmével.A program ezen változata béta minősítésű szabadon kipróbálható. Ez a programot is lehet majd egy jogdíjmentes tartományban is hivatalosan használni (100 számla, vagy 3 millió Ft forgalom)

A használatához sok sikert kivánok, és örömmel veszek minden visszajelzést a müködéssel kapcsolatban. A végleges verzió várhatóan két héten belül lesz kiadva. A bétában rögzített adatokat a végleges verzió frissitése nem fogja felülírni, mivel egy binális file lesz csupán.

Üdvözlettel:

Kiss Zoltán LafiSoft

http://www.lafisoft.hu

6400 Kiskunhalas Kassa u 24

tel: 06-77-425-262 ICQ 2510307

lafisoft@tvnetwork.hu

Alan Cox: Linux 2.4.20-pre5-ac4

Címkék

Újabb AC kernelpatch.

"FIGYELEM: A KÖVETKEZŐ NAGYOBB ADAG IDE FRISSÍTÉS. AKÁR TÖNKRE IS TEHET VALAMIT. NE HASZNÁLD OLYAN RENDSZEREN AHOL FONTOS ADAT VAN!" - írja Cox mester.

A kernel.org nem ment, ezért Alan a patchet nem oda töltötte fel. Egyelőre ne is keresd ott.

Letölthető patch-2.4.20-pre5-ac4.gz

Változások: [+ indicates stuff that went to Marcelo, o stuff that has not,

* indicates stuff that is merged in mainstream now, X stuff that proved bad and was dropped out, - indicates stuff not relevant to the main tree]

**

** WARNING: THIS IS THE NEXT BIG IDE UPDATE. ITS

** BOUND TO BREAK SOMETHING. DONT USE THIS ON DATA ** YOU CARE ABOUT

**

Since kernel.org still seems down I've put this on

ftp://ftp2.linux.org.uk/pub/linux/people/alan/

Linux 2.4.20-pre5-ac4

o Fix error path bug in pci resource code (Keith)

o Fix p4-clockmod compile error (Adrian Bunk)

o Align packets nicely on kaweth USB ethernet (Oliver Neukum)

o Further Changes file fix (Steven Cole)

o TCP timestamp handling fix (Dave Miller)

o Compile warning fixes (Niels Jensen)

o Next batch of IDE header updates (Andre Hedrick)

o IDE scsi update (Andre Hedrick)

| Needs some highio cleanup yet

o IDE DMA updates (Andre Hedrick)

o Update the IDE PCI driver layer (Andre Hedrick)

o Fix pdc202xx further braindamage (me)

o Further icside fixes (Bartlomiej Zolnierkiewicz)

o Fix ide-lib atapi DMA check (Bartlomiej Zolnierkiewicz)

o CMD64x rev 5/7 UDMA check fix (Bartlomiej Zolnierkiewicz)

o Add blk_fs_request helper (Jens Axboe)

o IDE highmem fixes (scsi needs doing (Jens Axboe)

I suspect)

o Longer PIO timeout for taskfile write (Andre Hedrick)

o Fix promise cable detect (Andre Hedrick)

o Split promise into old and new drivers (me)

Alan Cox: Linux 2.4.20-pre5-ac3

Címkék

Itt az újabb AC patch. Figyelem! A patchet egyelőre NE keresd a kernel.org-on, oda csak később lesz feltöltve. A patchet az alábbi linkról tudod egyelőre leszedni.

Letölthető patch-2.4.20-pre5-ac3.gz

Változások:[+ indicates stuff that went to Marcelo, o stuff that has not,

* indicates stuff that is merged in mainstream now, X stuff that proved bad and was dropped out, - indicates stuff not relevant to the main tree]

Next batch of backlog stuff, and one small Promise IDE fix. The backlog is now basically clear.

Since master.kernel is currently being unhappy this patch can be found on ftp://ftp2.linux.org.uk/pub/linux/people/alan/patches. I'll upload it to kernel.org at some point later on.

Linux 2.4.20-pre5-ac3

o Fix procfs handling for zoran driver (Silvio Cesare)

o ZR36067 doesn't support bitmask clipping so (Silvio Cesare)

error such a request.

o LBA48 on older promise IDE fix (Mike Isely)

o Report jfs tools version in ver_linux (Steven Cole)

o HP XP arrays can need largelun (Steve Mickeler)

o Allow maestro3 gpio amp control setup by (Michael Olson)

hand for odd machines (Panasonic CF-72)

o Add autodetect to the CF-72 maestro3 funny (me)

o Fix overlarge read in vicam usb (Silvio Cesare)

o Length limit S/390 cio proc write files (Silvio Cesare)

o Length limit S/390 chandev proc write files (Silvio Cesare)

o Length limut S/390 dasd statistics write (Silvio Cesare)

o Two fixes to 3270 driver for S/390 (Silvio Cesare,

me)

o Fix buffer limits in tubfs for S/390 (Silvio Cesare)

| Really this code wants redoing to loop rather than do shorter

| read/writes on full buffers. but thats not trivial

o Use define values not magic constants on S/390 (Silvio Cesare)

netiucv buffer checks

o Correct a vmalloc corner case (Dave Miller)

o Fix hisax oops with out of range card type (Alan Hourihane)

o Update Documentation/Changes for reiserfs (Neils Jensen)

o Fix incorrect type in i2c-core (Silvio Cesare)

o Fix length limits in i2c-dev (Silvio Cesare)

o Fix incorrect type in amdtp (Silvio Cesare)

o Update Buslogic maintiners entry 8(

o Don't register a gameport at I/O zero if none (me)

is configured on es1370, es1371,

o Handle unprintable ac97 codec names (STAC) (me)

o Restructure pcigame and trident audio not to (me)

fall over each other

Slackware 9.0 BETA

Címkék

Az első gcc-3.2-re épülő slackware-current (amely később a Slackware 9.0 névre fog hallgatni), jelenleg már online állapotban van, azaz letölthető. Az új fordító program mellett olyan stuffokat találsz benne mint: 2.4.19 kernel, Ogg Vorbis 1.0, FLAC (Free Lossless Audio Codec), perl 5.8.0, KDE 3.0.3, hotplug támogatás, és számos más új fejlesztés. Az összes patch, amely a Slackware 8.1 óta megjelent, sikeresen beolvasztásra került ebbe a fába.

Have fun! :-)

Változások logja i386

Letölthető ftp://ftp.slackware.com/pub/slackware/slackware-current/

Alan Cox: Linux 2.4.20-pre5-ac2

Címkék

Újabb Alan Cox patch a legújabb prepatch kernelhez. Kisebb IDE frissítések, ez nem javítja az összes IDE bugot.

A patch letölthető patch-2.4.20-pre5-ac2.gz

Változások:Linux 2.4.20-pre5-ac2

o BeFS updates (Will Dyson)

o Fix prototype mismatch in tc/tc.c (Silvio Cesare)

o SunRPC oops fix (Chuck Lever)

o Fix SunRPC TCP handling for write_space (Chuck Lever)

o Update ver_linux reporting further (Steven Cole)

o Cpufreq updates (Dominik Brodowski)

o Update pegasus.h license header (Petko Manolov)

o USB lcd driver (Adams IT)

o Update bluetooth drivers (Greg Kroah-Hartmann,

Masoodur Rahman)

o USB serial update (Greg Kroah Hartmann)

o Workaround for some usb keyboards (Itai Nahshon)

o Minolta DImage4 entry for unusual_devices (Petr Konecny)

o OHCI completion of unlinked urbs fix (David Brownell)

o Tighten AC97 modem detect rules (me)

o Report AC97 codecs by their PNP ID (me)

o Further sis memory checks (Zwane Mwaikambo)

o Add new opcodes to the hdreg.h IDE table (Andre Hedrick)

o Update cris and x86_64 ide.h files (Andre Hedrick)

o Fix includes in freecom.c (Andre Hedrick)

o Winbond IDE requires PCI (Andre Hedrick)

o icside cleanup (Andre Hedrick)

o Report ide unregister failures (Andre Hedrick)

o Clean up legacy hd driver to use outb (Andre Hedrick)

o Ditto for ide-cs (Andre Hedrick)

o ns87415 needed to call its own ide_dma_end (Andre Hedrick)

o Make via_base unsigned long not uint (Andre Hedrick)

o Update ide-ppc (probably broken until some (Bartlomiej Zolnierkiewicz

other changes go in) Andre Hedrick)

o Fix bugs in the ide-cd -> ide-scsi pass over (Andre Hedrick)

o Kill GET_ERR macro in ide-disk (Andre Hedrick)

o IDE dma hack fix for etrax - needs to be (Andre Hedrick)

generalised

o Update as yet unused ide-lib code (Andre Hedrick)

o Fix types in ide_probe reporting (Roman Zippel)

o Add disable/enable irq probe handling (Roman Zippel)

o Fix non PCI IDE build problems (me)

o Merge Matrox G450 updates (Petr Vandrovec)

o Re-enable DRM for GMX2000 (it doesnt work yet) (me)