Ze względu na dysk SSD:
│ Prompt: Default I/O scheduler │
│ Location: │
│ -> Enable the block layer (BLOCK [=y]) │
│ -> IO Schedulers
--> No-op
Prompt: Default ASPM policy │
│ Location: │
│ -> Bus options (PCI etc.) │
│ -> PCI support (PCI [=y]) │
│ -> PCI Express support (PCIEPORTBUS [=y]) │
│ -> PCI Express ASPM control (PCIEASPM [=y])
--> Powersafe
wyłączone:
│ Prompt: SFI (Simple Firmware Interface) Support │
│ Location: │
│ -> Power management and ACPI options
różne hotplugi (pcie, cpu, memor, pci
PCMCIA:
│ Prompt: PCCard (PCMCIA/CardBus) support │
│ Location: │
│ -> Bus options (PCI etc.)
RapidIO:
│ Prompt: RapidIO support │
│ Location: │
│ -> Bus options (PCI etc.)
IRDA:
│ Prompt: IrDA (infrared) subsystem support │
│ Location: │
│ -> Networking support (NET [=y])
RxRPC:
│ Prompt: RxRPC session sockets │
│ Location: │
│ -> Networking support (NET [=y])
CAIF:
│ Prompt: CAIF support │
│ Location: │
│ -> Networking support (NET [=y])
NFC:
│ Prompt: NFC subsystem support │
│ Location: │
│ -> Networking support (NET [=y])
HAM:
│ Prompt: Amateur Radio support │
│ Location: │
│ -> Networking support (NET [=y])
MTD:
│ Prompt: Memory Technology Device (MTD) support │
│ Location: │
│ -> Device Drivers
Większość sterowników stąd:
│ Prompt: Block devices │
│ Location: │
│ -> Device Drivers
ATA SFF:
│ Prompt: ATA SFF support (for legacy IDE and PATA) │
│ Location: │
│ -> Device Drivers │
│ -> Serial ATA and Parallel ATA drivers (ATA [=y])
Mac:
│ Prompt: Macintosh device drivers │
│ Location: │
│ -> Device Drivers
Watchdog:
│ Prompt: Watchdog Timer Support │
│ Location: │
│ -> Device Drivers
Broadcom:
│ Prompt: BCMA support │
│ Location: │
│ -> Device Drivers │
│ -> Broadcom specific AMBA
│ Prompt: Media PCI Adapters │
│ Location: │
│ -> Device Drivers │
│ -> Multimedia support (MEDIA_SUPPORT [=m])
│ Prompt: Radio Adapters │
│ Location: │
│ -> Device Drivers │
│ -> Multimedia support (MEDIA_SUPPORT [=m])
Przełączanie grafiki:
│ Prompt: Laptop Hybrid Graphics - GPU switching support │
│ Location: │
│ -> Device Drivers │
│ -> Graphics support
nVidia:
│ Prompt: Nouveau (nVidia) cards │
│ Location: │
│ -> Device Drivers │
│ -> Graphics support
i kilka innych sterowników od k. graf, agp
│ Prompt: Accessibility support │
│ Location: │
│ -> Device Drivers
InfiniBand:
│ Prompt: InfiniBand support │
│ Location: │
│ -> Device Drivers
PWM:
│ Prompt: Pulse-Width Modulation (PWM) Support │
│ Location: │
│ -> Device Drivers
W dziale HM, zostaje tylko:
│ Prompt: AMD Family 10h+ temperature sensor │
│ Location: │
│ -> Device Drivers │
│ -> Hardware Monitoring support (HWMON [=y])
Większość ALSA - poza hda_intel i realtek
Większość z Serial ATA and Parallel ATA drivers.
Wszystko w Multifunction device drivers.
Oraz większość z SCSI device support.
włączone:
Prompt: Enable workqueue power-efficient mode by default │
│ Location: │
│ -> Power management and ACPI options
│ Prompt: Default time-out for HD-audio power-save mode │
│ Location: │
│ -> Device Drivers │
│ -> Sound card support (SOUND [=y]) │
│ -> Advanced Linux Sound Architecture (SND [=y]) │
│ -> PCI sound devices (SND_PCI [=y]) │
│ -> Intel HD Audio (SND_HDA_INTEL [=y])
i ustawione na 3s.
sobota, 15 lutego 2014
czwartek, 13 lutego 2014
Kompilacja kernela dla NP535U3C
Ten post to tylko zbiór mniej lub bardziej uporządkowanych informacji, jakie znalazłem podczas tego procesu:
Korzystając z podręcznika Ubuntu, po porażce metody ze źródłami od Ubuntu, wybrałem metodę tutaj nazwaną 'old-fashioned Debian way', czyli pobranie źródeł (z kernel.org) oraz stare dobre make menuconfig.
Sposobów instalacji jest mnóstwo... Oczywiście najwygodniejsze i najbardziej eleganckie jest utworzenie paczek. Metod na to też znajdzie się kilka [źródło]:
make -j3 deb-pkgZ manuali make-kpkg [źródło]:
fakeroot make-kpkg --initrd --revision=20140214.1 --append-to-version=-np535u3c kernel-image kernel-headers
kernel-image-(kernel-version)(--append-to-version)_(--revision)_(architecture).debappend i revision są alfanumeryczne oraz '+', '-' i '.'. Niestety make-kpkg burzy się, gdy w make menuconfig ustawimy jakiś ciekawszy string, więc najlepiej tamto pole pozostawić puste. revision nie dodaje nic do wydania jądra, to tylko 'dopisek' do wersji paczki deb.
obecnie korzystam z drugiej metody, ale warto wykorzystać ilość procesorów, służy do tego export CONCURRENCY_LEVEL=3.
W efekcie otrzymujemy (w katalogu o jeden wyżej):
linux-3.11.10Które instalujemy sudo dpkg -i *.deb.
linux-headers-3.11.10-np535u3c_20140214.1_amd64.deb
linux-image-3.11.10-np535u3c_20140214.1_amd64.deb
Jeśli wszystko pójdzie dobrze postaram się wykorzystać:
make localmodconfig, optymalizacje gcc -march=native [źródło][źródło], undervolting [źródło] oraz (zasugerowany płatną wersją NeteXta) innymi optymalizacjami procesu kompilacji.
Kernel dla Samsung NP535C3U [v20140214]
Obecnie kombinuję nad opracowaniem jądra dla systemu (Mint KDE 16) przygotowanego pod Samsunga NP535C3U. Jest to model z procesorem+GPU od AMD, bez napędu itd., itd. Stockowe jądro jest zbyt stockowe, zaś np. to od NeteXt'a nastawione na maszyny typu desktop (bez jakiejkolwiek oszczędności baterii).
W wersji 0.1 'mojej' wersji skorzystałem z konfiguracji NeteXt'a modyfikując tylko odrobinę konfigurację w celu zmniejszenia zużycia energii:
W wersji 0.1 'mojej' wersji skorzystałem z konfiguracji NeteXt'a modyfikując tylko odrobinę konfigurację w celu zmniejszenia zużycia energii:
Processor type and features --> Preemption model --> Voluntary kernel
This option reduces the latency of the kernel by adding more "explicit preemption points" to the kernel code. These new preemption points have been selected to reduce the maximum latency of rescheduling, providing faster application reactions, at the cost of slightly lower throughput.
This allows reaction to interactive events by allowing a low priority process to voluntarily preempt itself even if it is in kernel mode executing a system call. This allows applications to run more 'smoothly' even when the system is under load.
--> Timer frequency --> 100 Hz
100 Hz is a typical choice for servers, SMP and NUMA systems with lots of processors that may show reduced performance if too many timer interrupts are occurring.
jako przeciwieństwo:
1000Hz: 1000 Hz is the preferred choice for desktop systems and other systems requiring fast interactive responses to events.
Power management and ACPI options --> CPU Frequency scaling --> Default CPUFreq governor --> powersave
Use the CPUFreq governor 'powersave' as default. This sets the frequency statically to the lowest frequency supported by the CPU.
Subskrybuj:
Komentarze (Atom)