____/ Ewok on Thursday 03 January 2008 11:22 : \____
> On Jan 3, 5:27 am, Tom Shelton <tom_shel...@xxxxxxxxxxx> wrote:
>> On Jan 2, 7:25 pm, Roy Schestowitz <newsgro...@xxxxxxxxxxxxxxx> wrote:
>>
>>
>>
>> > ____/ Tom Shelton on Wednesday 02 January 2008 18:14 : \____
>>
>> > > On 2008-01-02, Roy Schestowitz <newsgro...@xxxxxxxxxxxxxxx> wrote:
>> > >> ____/ Ewok on Wednesday 02 January 2008 11:17 : \____
>>
>> > >>> On Dec 29 2007, 2:39 am, "DFS" <nospam@xxxxxxxx> wrote:
>> > >>>> It takes 12 seconds to cold launch on my P4, 3.0ghz system w/ 2gb of
>> > >>>> RAM and
>> > >>>> a fast SATA drive. It's pure OSS crapooolllaaaa.
>>
>> > >>> Your computer P4, 3.0 GHz, 2 GB RAM and fast SATA
>> > >>> My computer AMD Duron, 1,3 GHz, 1 GB RAM and IDE
>>
>> > >>> We could guestimate that your computer is roughly 3 times as fast as
>> > >>> my is. You say that it takes 12 seconds to cold launch open office on
>> > >>> your computer. It took 3 seconds on my computer. I just clocked it.
>> > >>> That is 4 times faster than on your computer. Since I use linux and
>> > >>> you use windows, I guess that, that would explain the difference. That
>> > >>> would make linux 12 times faster than windows.
>>
>> > >> OOo can be launched (from a 'cold' state) within just a few seconds on
>> > >> this old PC that I use. It's very fast.
>>
>> > >> ...Too bad for those who still use Windows because _even_ if they
>> > >> choose Free open source, they are treated like second-class citizens.
>>
>> > > If this ends up being a duplicate - forgive me. I had a problem posting
>> > > the original - and I wasn't sure if it had worked. So, I reconstructed
>> > > the post:
>>
>> > > Define "a few"? Here are my system stats (fresh reboot to ensure a cold
>> > > start):
>>
>> > > tom@bob ~ $ uname -a
>> > > Linux bob 2.6.21-gentoo-r4 #5 PREEMPT Mon Dec 3 14:02:36 MST 2007 i686
>> > > Intel(R) Celeron(TM) CPU 1400MHz GenuineIntel GNU/Linux
>>
>> > > tom@bob ~ $ uptime
>> > > 04:01:12 up 6 min, 1 user, load average: 0.12, 0.24, 0.15
>>
>> > > tom@bob ~ $ cat /proc/cpuinfo
>> > > processor : 0
>> > > vendor_id : GenuineIntel
>> > > cpu family : 6
>> > > model : 11
>> > > model name : Intel(R) Celeron(TM) CPU 1400MHz
>> > > stepping : 1
>> > > cpu MHz : 1392.412
>> > > cache size : 256 KB
>> > > fdiv_bug : no
>> > > hlt_bug : no
>> > > f00f_bug : no
>> > > coma_bug : no
>> > > fpu : yes
>> > > fpu_exception : yes
>> > > cpuid level : 2
>> > > wp : yes
>> > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
>> > > mca cmov pat pse36 mmx fxsr sse
>> > > bogomips : 2814.99
>> > > clflush size : 32
>>
>> > > tom@bob ~ $ cat /proc/meminfo
>> > > MemTotal: 513800 kB
>> > > MemFree: 333484 kB
>> > > Buffers: 10784 kB
>> > > Cached: 92032 kB
>> > > SwapCached: 0 kB
>> > > Active: 87928 kB
>> > > Inactive: 63372 kB
>> > > HighTotal: 0 kB
>> > > HighFree: 0 kB
>> > > LowTotal: 513800 kB
>> > > LowFree: 333484 kB
>> > > SwapTotal: 500464 kB
>> > > SwapFree: 500464 kB
>> > > Dirty: 12 kB
>> > > Writeback: 0 kB
>> > > AnonPages: 48504 kB
>> > > Mapped: 40628 kB
>> > > Slab: 11352 kB
>> > > SReclaimable: 5096 kB
>> > > SUnreclaim: 6256 kB
>> > > PageTables: 1156 kB
>> > > NFS_Unstable: 0 kB
>> > > Bounce: 0 kB
>> > > CommitLimit: 757364 kB
>> > > Committed_AS: 188928 kB
>> > > VmallocTotal: 507896 kB
>> > > VmallocUsed: 69296 kB
>> > > VmallocChunk: 438020 kB
>>
>> > > Cold start:
>> > > tom@bob ~ $ time oowriter
>>
>> > > real 0m19.605s
>> > > user 0m0.067s
>> > > sys 0m0.087s
>>
>> > > Now, if there is an instance already loaded, a second instance takes
>> > > about half a second:
>>
>> > > tom@bob ~ $ time oowriter
>>
>> > > real 0m0.582s
>> > > user 0m0.057s
>> > > sys 0m0.077s
>>
>> > > A second start with no instances running:
>> > > tom@bob ~ $ time oowriter
>>
>> > > real 0m19.446s
>> > > user 0m0.063s
>> > > sys 0m0.080s
>>
>> > > Yeah, it starts in a few seconds on my old pc as well - a few being
>> > > about 20 seconds.
>>
>> > Very odd. Which version of OOo is it and what did you do to it? ;-)
>>
>> OOo 2.3.1. What did I do to it? Nothing. I installed it from
>> source:
>>
>> emerge -av openoffice
>>
>> Here are my CFLAGS from /etc/make.conf
>> CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
>>
>> > On this 1.8GHz machine, with RAM fully occupied (therefore OOo needs to
>> > resort to paging), OOo just takes a few seconds to launch for the first
>> > time. Don't ask me how. I haven't a clue what you did.
>>
>> Again - define few. I showed you my times, lets see yours.
>>
>> --
>> Tom Shelton
>
> I have twice your memory, but approximately your processor, so it
> should take about the same time. Mine takes 3 seconds. I googled start
> up on open office and came with the following tip.
>
> Tools menu, options
> Memory under OpenOffice.org
> Change:
> Undo
> Number of steps to 25
> Graphics cache
> Memory per object 2.0 MB
> Remove from memory after 00:05
> Cache for inserted objects
> Number of objects 15
> Mark OpenOffice.org quickstarter
I think I once read this tip in Linux Journal (Tom Adelstein?) or Linux.com
(Bruce Byfield?). Either way, I made no adjustment to OOo. It runs with a
GNOME-ish (GTK) theme under KDE, which means it has to load some extra libs in
KDE, yet it takes just seconds to run without any preloading. As I said, don't
ask me how, but I'm not lying. It takes me a little longer than 3 seconds
because my RAM and swap is always nearly full (I multitask with little memory
available).
> I didn't need to do this, but it may help, to get down the start up
> time.
>
> /Your friendly neighbourhood Ewok
Tom Shelton is quite polite and intelligent, but he is usually here just to
pour cold water on GNU/Linux, so prejudice should be justified. Suspicion
rather...
--
~~ Best of wishes
Roy S. Schestowitz | while (sig==sig) sig=!sig;
http://Schestowitz.com | RHAT GNU/Linux | PGP-Key: 0x74572E8E
run-level 2 2007-12-10 11:12 last=
http://iuron.com - help build a non-profit search engine
|
|