Re: [gentoo-user] can gnome use prelink?
2006/5/9, JimD [EMAIL PROTECTED]: wu chuanwen wrote: 2006/5/7, JimD [EMAIL PROTECTED]: hdparm -Tt /dev/hda Thank you!Here are some results: /dev/hda: Timing cached reads: 816 MB in 2.00 seconds = 407.87 MB/sec Timing buffered disk reads: 166 MB in 3.01 seconds = 55.17 MB/sec /dev/hda: Timing cached reads: 900 MB in 2.00 seconds = 449.13 MB/sec Timing buffered disk reads: 170 MB in 3.02 seconds = 56.25 MB/sec /dev/hda: Timing cached reads: 928 MB in 2.00 seconds = 464.21 MB/sec Timing buffered disk reads: 172 MB in 3.03 seconds = 56.77 MB/sec /dev/hda: Timing cached reads: 836 MB in 2.00 seconds = 417.79 MB/sec Timing buffered disk reads: 170 MB in 3.01 seconds = 56.51 MB/sec /dev/hda: Timing cached reads: 908 MB in 2.00 seconds = 453.99 MB/sec Timing buffered disk reads: 140 MB in 3.25 seconds = 43.11 MB/sec /dev/hda: Timing cached reads: 892 MB in 2.00 seconds = 445.28 MB/sec Timing buffered disk reads: 170 MB in 3.02 seconds = 56.29 MB/sec /dev/hda: Timing cached reads: 900 MB in 2.01 seconds = 448.79 MB/sec Timing buffered disk reads: 164 MB in 3.01 seconds = 54.56 MB/sec I think the speed of cache is too slow!In my roommate's machine,this speed is almost 880~900MB/sec Sorry!But i just don't know what you mean by this? I expect your reply! Thanks again! I meant I want you to run the command above and send the output. The last parameter /dev/hda refers to the drive where you have Gentoo insalled. The drive/device path that you put in /etc/fstab. For example, if your 40 GB drive is the primary master, it would be /dev/hda. It it were the primary slave it would be /dev/hdb, etc. If the drive is an SATA drive it would be /dev/sda.. If you still do not understand, send me the contents of the file /etc/fstab and I will show you what command to run. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/9, JimD [EMAIL PROTECTED]: Yes you should get much faster startup times of Gnome 2.14 than that. How to do that?I really don't know how to read the startup script.How can i improve or rebuild my system. My laptop is a Pentium M 1.73 GHz, 1 GB memory and a 5400 RPM SATA laptop drive. From startx to complete Gnome is only about 5 seconds or so. On my AMD64 3200+ with 2 GB and pretty fast SATA II I get in Gnome in less than 5 seconds. Something is slowing down you system. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/7, JimD [EMAIL PROTECTED]: wu chuanwen wrote: Celeron(R)2.0G,Ram=512mb,disk=40Gb That is not bad at all. yeah!I am using Gnome2.14.I konw it's nice.I am just trying to find some ways to make it more fast! Is it possible. What is slow about it? Just the startup or the use of applications or both? One thing I noticed is memory usage and swap can kill performance. You can run free to see how much memory/swap you have in use. What is the output from this command: top -b -n 1 Thanks! I have tried,here is the message: Mem:507856k total, 381252k used, 126604k free,50964k buffers Swap: 305192k total,0k used, 305192k free, 135780k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 5896 root 15 0 148m 14m 7852 S 3.9 2.9 0:50.87 X 9104 wcw 16 0 115m 38m 20m S 3.9 7.7 1:49.52 firefox-bin 1 root 16 0 1508 536 464 S 0.0 0.1 0:00.40 init 2 root 34 19 000 S 0.0 0.0 0:00.00 ksoftirqd/0 3 root 10 -5 000 S 0.0 0.0 0:00.03 events/0 4 root 10 -5 000 S 0.0 0.0 0:00.00 khelper 5 root 10 -5 000 S 0.0 0.0 0:00.00 kthread 7 root 10 -5 000 S 0.0 0.0 0:00.03 kblockd/0 8 root 20 -5 000 S 0.0 0.0 0:00.00 kacpid 92 root 10 -5 000 S 0.0 0.0 0:00.00 khubd 133 root 20 0 000 S 0.0 0.0 0:00.00 pdflush 134 root 15 0 000 S 0.0 0.0 0:00.00 pdflush 136 root 16 -5 000 S 0.0 0.0 0:00.00 aio/0 135 root 25 0 000 S 0.0 0.0 0:00.00 kswapd0 725 root 10 -5 000 S 0.0 0.0 0:00.02 kseriod 747 root 11 -5 000 S 0.0 0.0 0:00.00 kpsmoused 783 root 15 0 000 S 0.0 0.0 0:00.02 kjournald 982 root 13 -4 1732 560 356 S 0.0 0.1 0:00.63 udevd 2974 root 15 0 000 S 0.0 0.0 0:00.01 kjournald 5681 root 15 0 1860 604 432 S 0.0 0.1 0:00.01 syslog-ng 5834 root 16 0 2320 1156 900 S 0.0 0.2 0:00.04 login 5835 root 16 0 1548 636 548 S 0.0 0.1 0:00.00 agetty 5836 root 16 0 1544 632 548 S 0.0 0.1 0:00.00 agetty 5837 root 16 0 1544 632 548 S 0.0 0.1 0:00.00 agetty 5853 root 16 0 1548 640 548 S 0.0 0.1 0:00.00 agetty 5856 root 16 0 1548 636 548 S 0.0 0.1 0:00.00 agetty 5874 wcw 16 0 4028 1732 1396 S 0.0 0.3 0:00.03 bash 5879 wcw 17 0 2948 1252 1072 S 0.0 0.2 0:00.00 startx 5895 wcw 16 0 2460 716 600 S 0.0 0.1 0:00.00 xinit 5900 wcw 16 0 34724 10m 7992 S 0.0 2.1 0:00.83 gnome-session 5903 wcw 15 0 17316 9428 1712 S 0.0 1.9 0:00.31 scim-launcher 5907 wcw 19 0 4960 1004 736 S 0.0 0.2 0:00.00 scim-helper-man 5908 wcw 15 0 41696 9740 5984 S 0.0 1.9 0:01.18 scim-panel-gtk 5910 wcw 15 0 7132 1192 808 R 0.0 0.2 0:00.00 scim-launcher 5912 wcw 15 0 5516 3112 1972 S 0.0 0.6 0:00.56 gconfd-2 5915 wcw 19 0 2316 696 572 S 0.0 0.1 0:00.00 gnome-keyring-d 5917 wcw 16 0 6360 2980 2400 S 0.0 0.6 0:00.12 bonobo-activati 5919 wcw 15 0 28124 9500 7316 S 0.0 1.9 0:01.34 gnome-settings- 5924 wcw 15 0 4056 2572 1220 S 0.0 0.5 0:00.10 esd 5931 wcw 15 0 33988 11m 8224 S 0.0 2.2 0:05.66 metacity 5936 wcw 15 0 46804 15m 10m S 0.0 3.0 0:02.57 gnome-panel 5940 wcw 15 0 93612 27m 18m S 0.0 5.5 0:08.77 nautilus 5943 wcw 15 0 45820 12m 9584 S 0.0 2.6 0:03.70 wnck-applet 5946 wcw 15 0 8812 3596 2964 S 0.0 0.7 0:00.08 gnome-vfs-daemo 5958 wcw 16 0 2224 824 708 S 0.0 0.2 0:00.00 mapping-daemon 5960 wcw 15 0 2284 1044 912 S 0.0 0.2 0:00.04 gam_server 5964 wcw 16 0 17860 7884 6468 S 0.0 1.6 0:00.38 notification-ar 5966 wcw 16 0 37744 11m 8708 S 0.0 2.3 0:01.46 clock-applet 5970 wcw 15 0 78300 20m 12m S 0.0 4.1 0:16.36 gnome-terminal 5971 wcw 16 0 2232 712 588 S 0.0 0.1 0:00.00 gnome-pty-helpe 5972 wcw 15 0 3996 1700 1372 S 0.0 0.3 0:00.03 bash 5977 root 17 0 3356 1176 944 S 0.0 0.2 0:00.00 su 5980 root 15 0 3864 1728 1392 S 0.0 0.3 0:00.00 bash 5982 root 16 0 820 316 260 S 0.0 0.1 0:00.00 net 5990 wcw 15 0 4000 1704 1376 S 0.0 0.3 0:00.03 bash 9054 root 16 0 3352 1176 944 S 0.0 0.2 0:00.00 su 9057 root 16 0 3860 1732 1388 S 0.0 0.3 0:00.04 bash 9095 wcw 17 0 3928 1412 1108 S 0.0 0.3 0:00.02 mozilla-launche 9114 wcw 19 0 000 Z 0.0 0.0 0:00.00 netstat defunct 9131 root 18 0 11196 8944 2220 S 0.0 1.8 0:03.81 emerge 9637 root 15 0 3488 1480 1208 S 0.0 0.3 0:01.38 wget 9647 wcw
Re: [gentoo-user] can gnome use prelink?
I count the time when i startx my gnome,it takes me 23 or 24 seconds. The specs of my machine are as follow: Celeron(R)2.0G,Ram=512mb,disk=40Gb Do you think it's slow or not? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
wu chuanwen wrote: 2006/5/7, JimD [EMAIL PROTECTED]: hdparm -Tt /dev/hda Sorry!But i just don't know what you mean by this? I expect your reply! Thanks again! I meant I want you to run the command above and send the output. The last parameter /dev/hda refers to the drive where you have Gentoo insalled. The drive/device path that you put in /etc/fstab. For example, if your 40 GB drive is the primary master, it would be /dev/hda. It it were the primary slave it would be /dev/hdb, etc. If the drive is an SATA drive it would be /dev/sda.. If you still do not understand, send me the contents of the file /etc/fstab and I will show you what command to run. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
wu chuanwen wrote: I count the time when i startx my gnome,it takes me 23 or 24 seconds. The specs of my machine are as follow: Celeron(R)2.0G,Ram=512mb,disk=40Gb Do you think it's slow or not? Yes you should get much faster startup times of Gnome 2.14 than that. My laptop is a Pentium M 1.73 GHz, 1 GB memory and a 5400 RPM SATA laptop drive. From startx to complete Gnome is only about 5 seconds or so. On my AMD64 3200+ with 2 GB and pretty fast SATA II I get in Gnome in less than 5 seconds. Something is slowing down you system. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/6, JimD [EMAIL PROTECTED]: wu chuanwen wrote: Hi! I know kde can use prelink to accelerate. Can gnome do it? If it can,how?I know in kde we should change the file 99kde-env in /etc/env.d,but here i can't see any file relate gnome. Thank you in advance! From http://www.gentoo.org/doc/en/prelink-howto.xml: Most common applications make use of shared libraries. These shared libraries need to be loaded into memory at runtime and the various symbol references need to be resolved. For most small programs this dynamic linking is very quick. But for programs written in C++ and that have many library dependencies, the dynamic linking can take a fair amount of time. Gnome is written in C and doesn't have this issue. Gnome startup is pretty fast. If you upgrade to the latest Gnome 2.14.x, startup is *very* fast. My AMD64 3200+ logs in to Gnome in only about 2 seconds from startx. I am really impressed with the speed improvements in Gnome 2.14 vs 2.12. So to answer your question, no, it is not needed in Gnome since gnome is not written in C++ like KDE is. Then is there anyway to accelerate gnome?My machine is not very fast!(yeah,of course my machine is not as good as yours) Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
wu chuanwen wrote: 2006/5/6, JimD [EMAIL PROTECTED]: I am really impressed with the speed improvements in Gnome 2.14 vs 2.12. Then is there anyway to accelerate gnome? As JimD wrote - 2.14 will be A LOT faster then 2.12. That's also what you'll find on gnome.org. Does anyone know, when 2.14 will finally be unmasked? Alexander Skwar -- If we wanted more leisure, we'd invent machines that do things less efficiently. -Calvin's dad -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
Alexander Skwar wrote: Does anyone know, when 2.14 will finally be unmasked? Alexander Skwar Don't worry about the mask status. 2.14 is the official stable release from Gnome. Just follow this guide until it is unmasked; http://gentoo-wiki.com/HOWTO_Update_to_GNOME_unstable Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
JimD wrote: Alexander Skwar wrote: Does anyone know, when 2.14 will finally be unmasked? Alexander Skwar Don't worry about the mask status. Yes, I do, because of: #Most of these packages will break/not compile because of eclass #changes that won't be made until every package is in the tree. #Don't unmask these and don't file bugs for them 2.14 is the official stable release from Gnome. I know. Just follow this guide until it is unmasked; http://gentoo-wiki.com/HOWTO_Update_to_GNOME_unstable Thanks! Will have a look at this! Alexander Skwar -- A bad marriage is like a horse with a broken leg, you can shoot the horse, but it don't fix the leg. br -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
JimD wrote: Alexander Skwar wrote: Does anyone know, when 2.14 will finally be unmasked? Don't worry about the mask status. Ah! It's no longer hardmasked! http://bugs.gentoo.org/show_bug.cgi?id=119872#c29 --- Comment #29 From John N. Laliberte 2006-05-06 15:01 PST [reply] --- moved to unstable as of about 6 hours ago. Great! Alexander Skwar -- A princess should not be afraid -- not with a brave knight to protect her. -- McCoy, Shore Leave, stardate 3025.3 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
2006/5/7, Alexander Skwar [EMAIL PROTECTED]: wu chuanwen wrote: 2006/5/6, JimD [EMAIL PROTECTED]: I am really impressed with the speed improvements in Gnome 2.14 vs 2.12. Then is there anyway to accelerate gnome? As JimD wrote - 2.14 will be A LOT faster then 2.12. That's also what you'll find on gnome.org. I have already install gnome 2.14.I know it's fast than the lower version ones. I just find it slower and slower(maybe)when i start gnome.And i just search some ways to make it even faster. I don' t know whether it's possible? Does anyone know, when 2.14 will finally be unmasked? Alexander Skwar -- If we wanted more leisure, we'd invent machines that do things less efficiently. -Calvin's dad -- gentoo-user@gentoo.org mailing list -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
wu chuanwen a gentiment tapote: 2006/5/7, JimD [EMAIL PROTECTED]: wu chuanwen wrote: Then is there anyway to accelerate gnome?My machine is not very fast!(yeah,of course my machine is not as good as yours) What are the specs of your computer? Celeron(R)2.0G,Ram=512mb,disk=40Gb Are you running Gnome 2.14? 2.14 has some nice speed increases and it also lowers memory footprint which can help with overall system response since you are less likely to swap on systems with low mem. yeah!I am using Gnome2.14.I konw it's nice.I am just trying to find some ways to make it more fast! Is it possible. Have you looked at xfce4? It is gtk+2 based like gnome however it is a lot lighter on resource requirements. yes!I am trying to use xfce4 and i have already installed it. It' s faster and also beautiful.But maybe not so easy to use. Besides, do you konw how to creat a desktop.link just as in gnome or kde?I know it's possible but i can find the way in handbook of xfce4. Hi, You can use Rox pinboard with xfce4. You have to install Rox, then http://saturn.unibe.ch/rsbern/noaa/dw/realtime/current/640/n1bcurr.jpgyou run rox --pin=PIN You get a new desktop on which you can add desktop.link icons by drag and drop. Regards - Ptitjack - ^ ^^^ ^ ( 0 0 ) \/ ---- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
Ptitjack a gentiment tapote: wu chuanwen a gentiment tapote: 2006/5/7, JimD [EMAIL PROTECTED]: wu chuanwen wrote: Then is there anyway to accelerate gnome?My machine is not very fast!(yeah,of course my machine is not as good as yours) What are the specs of your computer? Celeron(R)2.0G,Ram=512mb,disk=40Gb Are you running Gnome 2.14? 2.14 has some nice speed increases and it also lowers memory footprint which can help with overall system response since you are less likely to swap on systems with low mem. yeah!I am using Gnome2.14.I konw it's nice.I am just trying to find some ways to make it more fast! Is it possible. Have you looked at xfce4? It is gtk+2 based like gnome however it is a lot lighter on resource requirements. yes!I am trying to use xfce4 and i have already installed it. It' s faster and also beautiful.But maybe not so easy to use. Besides, do you konw how to creat a desktop.link just as in gnome or kde?I know it's possible but i can find the way in handbook of xfce4. Hi, http://saturn.unibe.ch/rsbern/noaa/dw/realtime/current/640/n1bcurr.jpgyou Well, sorry for that wrong link...nothing to do with weather forecast ;-) - Ptitjack - ^ ^^^ ^ ( 0 0 ) \/ ---- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
wu chuanwen wrote: Celeron(R)2.0G,Ram=512mb,disk=40Gb That is not bad at all. yeah!I am using Gnome2.14.I konw it's nice.I am just trying to find some ways to make it more fast! Is it possible. What is slow about it? Just the startup or the use of applications or both? One thing I noticed is memory usage and swap can kill performance. You can run free to see how much memory/swap you have in use. What is the output from this command: top -b -n 1 yes!I am trying to use xfce4 and i have already installed it. It' s faster and also beautiful.But maybe not so easy to use. Besides, do you konw how to creat a desktop.link just as in gnome or kde?I know it's possible but i can find the way in handbook of xfce4. The development version of xfce supports desktop icons. You would need to unmask the latest version of xfce in Gentoo. The specs of your computer seem fine to run the latest gnome. What is the RPM speed of your hard drive. I am suspecting the problem is that with 512MB of memory, you are using up swap. Your hard drive is probably only 5200 RPM which can make a big difference on swap speed. Send me the output of the top command above, the output of free and the output of: hdparm -Tt /dev/hda Replace hda with your correct drive. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list
[gentoo-user] can gnome use prelink?
Hi! I know kde can use prelink to accelerate. Can gnome do it? If it can,how?I know in kde we should change the file 99kde-env in /etc/env.d,but here i can't see any file relate gnome. Thank you in advance! -- wcw -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
On 5/6/06, wu chuanwen [EMAIL PROTECTED] wrote: Hi! I know kde can use prelink to accelerate. Can gnome do it? If it can,how?I know in kde we should change the file 99kde-env in /etc/env.d,but here i can't see any file relate gnome. If you have prelink installed and the cron job runs successfully, then you have all dynamically linked code on your system prelinked, not just GNOME and KDE which you probably knew already. What 'KDE_IS_PRELINKED=1' from /etc/env.d/99kde-env does is tell kde not to load kdeinit, or at least that is what the prelink guide says. kdeinit must have some functionality that is superseded by prelinking. I don't know if GNOME has any simmilar daemon. Justin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] can gnome use prelink?
wu chuanwen wrote: Hi! I know kde can use prelink to accelerate. Can gnome do it? If it can,how?I know in kde we should change the file 99kde-env in /etc/env.d,but here i can't see any file relate gnome. Thank you in advance! From http://www.gentoo.org/doc/en/prelink-howto.xml: Most common applications make use of shared libraries. These shared libraries need to be loaded into memory at runtime and the various symbol references need to be resolved. For most small programs this dynamic linking is very quick. But for programs written in C++ and that have many library dependencies, the dynamic linking can take a fair amount of time. Gnome is written in C and doesn't have this issue. Gnome startup is pretty fast. If you upgrade to the latest Gnome 2.14.x, startup is *very* fast. My AMD64 3200+ logs in to Gnome in only about 2 seconds from startx. I am really impressed with the speed improvements in Gnome 2.14 vs 2.12. So to answer your question, no, it is not needed in Gnome since gnome is not written in C++ like KDE is. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= There's no place like 127.0.0.1 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= JimD Central FL, USA, Earth, Sol -- gentoo-user@gentoo.org mailing list