comments on KDE performance tips

Andrew Morton kde-optimize@mail.kde.org
Fri, 17 Jan 2003 00:48:33 -0800


Roger Larsson <roger.larsson@norran.net> wrote:
>
> Not for me. It slows it down.
> Maybe I have too little memory, or too much debug info in my files.
> (full debug compiled)

It could certainly be that.

And it also matters (a lot) if you've copied the executables after linking
them.  If you're executing your programs from the place where the linker left
them, the read bandwidth is very poor.

Example: here is the file offset to disk block mapping of sylpheed, which I
compiled yesterday.  As you can imagine, copying this file to /usr/local/bin
will result in something which loads a lot faster.

mnm:/usr/src/sylpheed/src> ls -l sylpheed 
-rwxr-xr-x    1 akpm     akpm      2786377 Jan 14 23:40 sylpheed
mnm:/usr/src/sylpheed/src> 0 bmap sylpheed
0-0: 6191178-6191178 (1)
1-1: 6191714-6191714 (1)
2-18: 6191697-6191713 (17)
19-19: 6191696-6191696 (1)
20-20: 6191695-6191695 (1)
21-21: 6191186-6191186 (1)
22-23: 6191715-6191716 (2)
24-24: 6191180-6191180 (1)
25-25: 6191189-6191189 (1)
26-29: 6191199-6191202 (4)
30-34: 6191212-6191216 (5)
35-42: 6191225-6191232 (8)
43-43: 6191248-6191248 (1)
44-46: 6191250-6191252 (3)
47-47: 6191260-6191260 (1)
48-49: 6191265-6191266 (2)
50-50: 6191270-6191270 (1)
51-52: 6191274-6191275 (2)
53-55: 6191282-6191284 (3)
56-56: 6191290-6191290 (1)
57-57: 6191294-6191294 (1)
58-69: 6191296-6191307 (12)
70-70: 6191325-6191325 (1)
71-80: 6191328-6191337 (10)
81-82: 6191369-6191370 (2)
83-91: 6191376-6191384 (9)
92-93: 6191397-6191398 (2)
94-99: 6191402-6191407 (6)
100-100: 6191413-6191413 (1)
101-102: 6191416-6191417 (2)
103-103: 6191420-6191420 (1)
104-104: 6191423-6191423 (1)
105-106: 6191427-6191428 (2)
107-109: 6191431-6191433 (3)
110-111: 6191439-6191440 (2)
112-112: 6191447-6191447 (1)
113-117: 6191449-6191453 (5)
118-118: 6191464-6191464 (1)
119-120: 6191468-6191469 (2)
121-122: 6191473-6191474 (2)
123-125: 6191481-6191483 (3)
126-127: 6191491-6191492 (2)
128-128: 6191499-6191499 (1)
129-129: 6191501-6191501 (1)
130-130: 6191505-6191505 (1)
131-132: 6191510-6191511 (2)
133-133: 6191515-6191515 (1)
134-134: 6191517-6191517 (1)
135-137: 6191521-6191523 (3)
138-138: 6191527-6191527 (1)
139-139: 6191530-6191530 (1)
140-140: 6191533-6191533 (1)
141-141: 6191536-6191536 (1)
142-142: 6191540-6191540 (1)
143-143: 6191544-6191544 (1)
144-144: 6191547-6191547 (1)
145-145: 6191549-6191549 (1)
146-146: 6191552-6191552 (1)
147-151: 6191556-6191560 (5)
152-152: 6191571-6191571 (1)
153-154: 6191574-6191575 (2)
155-155: 6191581-6191581 (1)
156-156: 6191584-6191584 (1)
157-157: 6191589-6191589 (1)
158-158: 6191592-6191592 (1)
159-161: 6191596-6191598 (3)
162-162: 6191603-6191603 (1)
163-163: 6191607-6191607 (1)
164-164: 6191610-6191610 (1)
165-166: 6191612-6191613 (2)
167-167: 6191618-6191618 (1)
168-169: 6191623-6191624 (2)
170-176: 6191629-6191635 (7)
177-177: 6191648-6191648 (1)
178-180: 6191653-6191655 (3)
181-181: 6191663-6191663 (1)
182-182: 6191181-6191181 (1)
183-185: 6191209-6191211 (3)
186-186: 6191244-6191244 (1)
187-187: 6191247-6191247 (1)
188-188: 6191273-6191273 (1)
189-189: 6191289-6191289 (1)
190-191: 6191322-6191323 (2)
192-202: 6191358-6191368 (11)
203-203: 6191375-6191375 (1)
204-208: 6191392-6191396 (5)
209-209: 6191412-6191412 (1)
210-210: 6191426-6191426 (1)
211-211: 6191444-6191444 (1)
212-212: 6191463-6191463 (1)
213-213: 6191480-6191480 (1)
214-214: 6191504-6191504 (1)
215-215: 6191543-6191543 (1)
216-216: 6191570-6191570 (1)
217-217: 6191588-6191588 (1)
218-218: 6191606-6191606 (1)
219-219: 6191622-6191622 (1)
220-220: 6191647-6191647 (1)
221-221: 6191652-6191652 (1)
222-222: 6191666-6191666 (1)
223-223: 6191182-6191182 (1)
224-224: 6191217-6191217 (1)
225-228: 6191353-6191356 (4)
229-229: 6191385-6191385 (1)
230-230: 6191187-6191187 (1)
231-238: 6191190-6191197 (8)
239-244: 6191203-6191208 (6)
245-251: 6191218-6191224 (7)
252-262: 6191233-6191243 (11)
263-264: 6191245-6191246 (2)
265-265: 6191249-6191249 (1)
266-272: 6191253-6191259 (7)
273-275: 6191261-6191263 (3)
276-278: 6191267-6191269 (3)
279-280: 6191271-6191272 (2)
281-286: 6191276-6191281 (6)
287-290: 6191285-6191288 (4)
291-293: 6191291-6191293 (3)
294-294: 6191295-6191295 (1)
295-308: 6191308-6191321 (14)
309-309: 6191324-6191324 (1)
310-310: 6191326-6191326 (1)
311-324: 6191338-6191351 (14)
325-325: 6191357-6191357 (1)
326-329: 6191371-6191374 (4)
330-335: 6191386-6191391 (6)
336-338: 6191399-6191401 (3)
339-342: 6191408-6191411 (4)
343-344: 6191414-6191415 (2)
345-346: 6191418-6191419 (2)
347-348: 6191421-6191422 (2)
349-350: 6191424-6191425 (2)
351-352: 6191429-6191430 (2)
353-357: 6191434-6191438 (5)
358-360: 6191441-6191443 (3)
361-361: 6191445-6191445 (1)
362-362: 6191448-6191448 (1)
363-371: 6191454-6191462 (9)
372-374: 6191465-6191467 (3)
375-377: 6191470-6191472 (3)
378-382: 6191475-6191479 (5)
383-389: 6191484-6191490 (7)
390-395: 6191493-6191498 (6)
396-396: 6191500-6191500 (1)
397-398: 6191502-6191503 (2)
399-401: 6191506-6191508 (3)
402-404: 6191512-6191514 (3)
405-405: 6191516-6191516 (1)
406-408: 6191518-6191520 (3)
409-411: 6191524-6191526 (3)
412-413: 6191528-6191529 (2)
414-415: 6191531-6191532 (2)
416-417: 6191534-6191535 (2)
418-420: 6191537-6191539 (3)
421-422: 6191541-6191542 (2)
423-424: 6191545-6191546 (2)
425-425: 6191548-6191548 (1)
426-427: 6191550-6191551 (2)
428-429: 6191553-6191554 (2)
430-438: 6191561-6191569 (9)
439-440: 6191572-6191573 (2)
441-445: 6191576-6191580 (5)
446-447: 6191582-6191583 (2)
448-450: 6191585-6191587 (3)
451-452: 6191590-6191591 (2)
453-455: 6191593-6191595 (3)
456-459: 6191599-6191602 (4)
460-461: 6191604-6191605 (2)
462-463: 6191608-6191609 (2)
464-464: 6191611-6191611 (1)
465-468: 6191614-6191617 (4)
469-471: 6191619-6191621 (3)
472-475: 6191625-6191628 (4)
476-486: 6191636-6191646 (11)
487-489: 6191649-6191651 (3)
490-493: 6191656-6191659 (4)
494-495: 6191661-6191662 (2)
496-497: 6191664-6191665 (2)
498-499: 6191667-6191668 (2)
500-642: 6191717-6191859 (143)
643-645: 6191183-6191185 (3)
646-646: 6191188-6191188 (1)
647-647: 6191198-6191198 (1)
648-648: 6191264-6191264 (1)
649-649: 6191327-6191327 (1)
650-650: 6191352-6191352 (1)
651-651: 6191446-6191446 (1)
652-652: 6191509-6191509 (1)
653-653: 6191555-6191555 (1)
654-654: 6191660-6191660 (1)
655-680: 6191669-6191694 (26)