Parallel Startup for KDE.

Roger Larsson roger.larsson at norran.net
Thu Oct 2 23:09:49 CEST 2003


On Thursday 02 October 2003 12.05, Waldo Bastian wrote:
> On Thursday 02 October 2003 00:54, Roger Larsson wrote:
> > /home/roger/.kde/share/config/kmailrc
> > 0-8: 12373287-12373295 (9)
> > 9-11: 12373297-12373299 (3)
> > 12-14: 12373301-12373303 (3)
> > 15-15: 12453955-12453955 (1)
> > 16-16: 12458523-12458523 (1)
> >
> > Probably the applications appends/rewrites the file.
>
> kmailrc tends to be always created from scratch as a new file unless you
> have given it non-standard permissions / ownership.
>

This is strange? (other = r?)

# ls -l /home/roger/.kde/share/config/kmailrc
-rw-r--r--    1 roger    larsson     69174 2003-10-02 03:32 /home/roger/.kde/
share/config/kmailrc

Anyway - it looks rewritten (completely different disk layout now - worse...)

# show_file_blocks /home/roger/.kde/share/config/kmailrc
0-0: 12373111-12373111 (1)
1-1: 12373200-12373200 (1)
2-2: 12453954-12453954 (1)
3-4: 12453956-12453957 (2)
5-11: 12457473-12457479 (7)
12-12: 12458333-12458333 (1)
13-14: 12458398-12458399 (2)
15-15: 12458401-12458401 (1)
16-16: 12458520-12458520 (1)

To make sure I changed a setting and applied (on a non busy system).

# show_file_blocks /home/roge         /config/kmailrc
0-0: 12373200-12373200 (1)
1-1: 12373290-12373290 (1)
2-2: 12373300-12373300 (1)
3-3: 12373303-12373303 (1)
4-6: 12373305-12373307 (3)
7-7: 12373309-12373309 (1)
8-9: 12373343-12373344 (2)
10-10: 12373351-12373351 (1)
11-11: 12453955-12453955 (1)
12-12: 12458521-12458521 (1)
13-14: 12458523-12458524 (2)
15-15: 12458624-12458624 (1)
16-16: 12458628-12458628 (1)

Is kmail fsynking per line written, or? cropped strace output looks like this:

access("/home/roger/.kde/share/config/kmailrc", W_OK) = 0
open("/home/roger/.kde/share/config/kmailrcUgRzXa.new", O_RDWR|O_CREAT|O_EXC
L, 0600) = 18
umask(0)                                = 022
umask(022)                              = 0
chmod("/home/roger/.kde/share/config/kmailrcUgRzXa.new", 0600) = 0
getgid32()                              = 500
getuid32()                              = 500
chown32(0x8b60d98, 0x1f4, 0x1f4)        = 0
fchmod(18, 0644)                        = 0
fcntl64(18, F_GETFL)                    = 0x2 (flags O_RDWR)
fstat64(18, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x422a0000
_llseek(18, 0, [0], SEEK_CUR)           = 0
write(18, "[$Version]\nupdate_info=kmail.upd"..., 4096) = 4096
write(18, "sfer\nactions=1\napply-on=check-ma"..., 4096) = 4096
write(18, "action-name-0=transfer\nactions=1"..., 4096) = 4096
write(18, "chedul\noperator=or\nrules=1\n\n[Fil"..., 4096) = 4096
write(18, "ator=and\nrules=1\n\n[Filter #48]\nC"..., 4096) = 4096
write(18, "ed=false\nMailingListPostingAddre"..., 4096) = 4096
write(18, "mpactable=true\nCurrent=2\nExpireM"..., 4096) = 4096
write(18, "=7\nReadExpireUnits=0\nSenderWidth"..., 4096) = 4096
write(18, "Width=170\nSizeWidth=98\nSortColum"..., 4096) = 4096
write(18, "n=true\nthreadMessagesBySubject=t"..., 4096) = 4096
write(18, "ield=\nhtmlMailOverride=false\nisO"..., 4096) = 4096
write(18, "sagesOverride=false\n\n[Folder-.PO"..., 4096) = 4096
write(18, "ireAge=3\nReadExpireUnits=3\nSende"..., 4096) = 4096
write(18, "eAge=3\nReadExpireUnits=3\nSenderW"..., 4096) = 4096
write(18, "ExpireMessages=false\nIdentity=0\n"..., 4096) = 4096
write(18, "telia.com,Waldo Bastian <bastian"..., 4096) = 4096
write(18, "32\n\n[KFileIconView]\nViewMode=Sma"..., 3627) = 3627
close(18)                               = 0

Disk is not full (can cause fragmentation)

 # df /home/roger/.kde/share/config/kmailrc
Filsystem             1K-block    Använt Tillgängl Anv% Monterat på
/dev/hdb5             51613016  30643780  18347432  63% /

Filesystem is ext2

Andrew, any idea? I am running SuSE version of 2.4.19-4GB

/RogerL

-- 
Roger Larsson
Skellefteå
Sweden


More information about the Kde-optimize mailing list