Re: [debian-knoppix] Performance issues on SMP vs UP (was Re: non-SMP kernel)
Hi,
I could build UP kernel, using;
# make-kpkg --added-patches xfs --config menuconfig \
--revision myown kernel-image
Building initrd.gz with mkinitrd fails. So I tried to modify stock initrd
directly:
# cp initrd.gz initrd-UP.gz
# gunzip initrd-UP.gz
# loop -t auto initrd-UP /mnt/disk -o loop
# cp /lib/modules/2.4.20/kernel/fs/ext3/ext3.o /mnt/disk/modules
# cp /lib/modules/2.4.20/kernel/fs/jbd/jbd.o /mnt/disk/modules
# sync
# umount /mnt/disk
# gzip -9 initrd-UP
Do not forget to "sync" or lost changes made and initrd might be broken.
Modify lilo.conf and add new entries for the new kernel,boot...Okay!
Later I attach a bonnie++ result details...
According to the reports:
- Sequential Access: No significant speed up
- Random Access: About 10-20% speed up !
Thanks for all advices!
Regards,
Max
[UP kernel]=================================================================
Version 1.02c ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec
%CP
cyan-knoppix 1G 12323 94 34729 48 14337 17 12090 89 40164 14 129.4
0
------Sequential Create------ --------Random
Create--------
-Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec
%CP
16 634 97 +++++ +++ +++++ +++ 642 98 +++++ +++ 2378
96
[MP kernel - NO SMP feature]===============================================
Version 1.02c ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec
%CP
cyan-knoppix 1G 11774 95 34082 56 14017 17 12213 76 39305 16 124.7
0
------Sequential Create------ --------Random
Create--------
-Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec
%CP
16 509 98 +++++ +++ 32583 101 534 97 +++++ +++ 2051
97
[MP kernel - SMP feature]==================================================
Version 1.02c ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec
%CP
cyan-knoppix 1G 11727 74 34294 49 14078 17 12527 94 40749 17 131.5
0
------Sequential Create------ --------Random
Create--------
-Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec
%CP
16 493 98 +++++ +++ 32222 100 509 98 +++++ +++ 2048
97
===========================================================================
--
Masaharu "Max" Goto
GnuPG Key fingerprint = 4D69 6B1D 484D 999C EDA7 2853 32AF 0C86 9323 3DDB
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
Reply to: