[Lazarus] Lazarus IDE - Configure Help
Graeme Geldenhuys
graemeg.lists at gmail.com
Tue Sep 16 15:48:27 CEST 2008
Apparently Nothing wrong!
Results:
lab2 at ltspserver0:/skole/home/lab2/Área de Trabalho$ ps aux | less
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2844 1688 ? Ss 11:04
0:01 /sbin/init
root 2 0.0 0.0 0 0 ? S< 11:04 0:00
[kthreadd]
root 3 0.0 0.0 0 0 ? S< 11:04 0:00
[migration/0]
root 4 0.0 0.0 0 0 ? S< 11:04 0:00
[ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 11:04 0:00
[watchdog/0]
root 6 0.0 0.0 0 0 ? S< 11:04 0:00
[migration/1]
root 7 0.0 0.0 0 0 ? S< 11:04 0:00
[ksoftirqd/1]
root 8 0.0 0.0 0 0 ? S< 11:04 0:00
[watchdog/1]
root 9 0.0 0.0 0 0 ? S< 11:04 0:00
[events/0]
root 10 0.0 0.0 0 0 ? S< 11:04 0:00
[events/1]
root 11 0.0 0.0 0 0 ? S< 11:04 0:00
[khelper]
root 46 0.0 0.0 0 0 ? S< 11:04 0:00
[kblockd/0]
root 47 0.0 0.0 0 0 ? S< 11:04 0:00
[kblockd/1]
root 50 0.0 0.0 0 0 ? S< 11:04 0:00
[kacpid]
root 51 0.0 0.0 0 0 ? S< 11:04 0:00
[kacpi_notify]
root 139 0.0 0.0 0 0 ? S< 11:04 0:00
[kseriod]
root 181 0.0 0.0 0 0 ? S 11:04 0:00
[pdflush]
root 182 0.0 0.0 0 0 ? S 11:04 0:00
[pdflush]
root 183 0.0 0.0 0 0 ? S< 11:04 0:00
[kswapd0]
root 224 0.0 0.0 0 0 ? S< 11:04 0:00 [aio/0]
root 225 0.0 0.0 0 0 ? S< 11:04 0:00 [aio/1]
root 1493 0.0 0.0 0 0 ? S< 11:04 0:00 [ata/0]
root 1498 0.0 0.0 0 0 ? S< 11:04 0:00 [ata/1]
root 1499 0.0 0.0 0 0 ? S< 11:04 0:00
[ksuspend_usbd]
root 1501 0.0 0.0 0 0 ? S< 11:04 0:00
[ata_aux]
root 1503 0.0 0.0 0 0 ? S< 11:04 0:00 [khubd]
root 1617 0.0 0.0 0 0 ? S< 11:04 0:00
[khpsbpkt]
root 2373 0.0 0.0 0 0 ? S< 11:04 0:00
[scsi_eh_0]
root 2374 0.0 0.0 0 0 ? S< 11:04 0:00
[scsi_eh_1]
root 2375 0.0 0.0 0 0 ? S< 11:04 0:00
[scsi_eh_2]
root 2376 0.0 0.0 0 0 ? S< 11:04 0:00
[scsi_eh_3]
root 2617 0.0 0.0 0 0 ? S< 11:04 0:00
[md6_raid1]
root 2631 0.0 0.0 0 0 ? S< 11:04 0:00
[md5_raid1]
root 2637 0.0 0.0 0 0 ? S< 11:04 0:00
[md7_raid1]
root 2643 0.0 0.0 0 0 ? S< 11:04 0:00
[md0_raid1]
root 2649 0.0 0.0 0 0 ? S< 11:04 0:00
[md1_raid1]
root 2671 0.0 0.0 0 0 ? S< 11:04 0:00
[md2_raid1]
lab2 at ltspserver0:/skole/home/lab2/Área de Trabalho$ top
top - 12:37:26 up 1:32, 2 users, load average: 0.00, 0.01, 0.00
Tasks: 143 total, 1 running, 142 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
Mem: 3107728k total, 1269264k used, 1838464k free, 304908k buffers
Swap: 4393736k total, 0k used, 4393736k free, 649904k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
1 root 20 0 2844 1688 544 S 0 0.1 0:01.10
init
2 root 15 -5 0 0 0 S 0 0.0 0:00.00
kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:00.00
migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:00.00
ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:00.00
watchdog/0
6 root RT -5 0 0 0 S 0 0.0 0:00.00
migration/1
7 root 15 -5 0 0 0 S 0 0.0 0:00.00
ksoftirqd/1
8 root RT -5 0 0 0 S 0 0.0 0:00.00
watchdog/1
9 root 15 -5 0 0 0 S 0 0.0 0:00.00
events/0
10 root 15 -5 0 0 0 S 0 0.0 0:00.00
events/1
11 root 15 -5 0 0 0 S 0 0.0 0:00.00
khelper
46 root 15 -5 0 0 0 S 0 0.0 0:00.00
kblockd/0
47 root 15 -5 0 0 0 S 0 0.0 0:00.00
kblockd/1
50 root 15 -5 0 0 0 S 0 0.0 0:00.00
kacpid
51 root 15 -5 0 0 0 S 0 0.0 0:00.00
kacpi_notify
139 root 15 -5 0 0 0 S 0 0.0 0:00.00
kseriod
181 root 20 0 0 0 0 S 0 0.0 0:00.00
pdflush
182 root 20 0 0 0 0 S 0 0.0 0:00.16
pdflush
183 root 15 -5 0 0 0 S 0 0.0 0:00.00
kswapd0
224 root 15 -5 0 0 0 S 0 0.0 0:00.00
aio/0
225 root 15 -5 0 0 0 S 0 0.0 0:00.00
aio/1
1493 root 15 -5 0 0 0 S 0 0.0 0:00.00
ata/0
1498 root 15 -5 0 0 0 S 0 0.0 0:00.42
ata/1
1499 root 15 -5 0 0 0 S 0 0.0 0:00.00
ksuspend_usbd
1501 root 15 -5 0 0 0 S 0 0.0 0:00.00
ata_aux
1503 root 15 -5 0 0 0 S 0 0.0 0:00.00
khubd
1617 root 15 -5 0 0 0 S 0 0.0 0:00.00
khpsbpkt
2373 root 15 -5 0 0 0 S 0 0.0 0:00.00
scsi_eh_0
2374 root 15 -5 0 0 0 S 0 0.0 0:00.00
scsi_eh_1
2375 root 15 -5 0 0 0 S 0 0.0 0:00.00
scsi_eh_2
2376 root 15 -5 0 0 0 S 0 0.0 0:00.00
scsi_eh_3
2617 root 15 -5 0 0 0 S 0 0.0 0:00.00
md6_raid1
Em Seg, 2008-09-15 às 09:38 +0200, A.J. Venter escreveu:
> >
> > 2008/9/14 Michael Van Canneyt <michael at freepascal.org>
> >
> > > On Sun, 14 Sep 2008, Osvaldo Filho wrote:
> > > > Anyone use any GTK2 application with Linux Terminal Server?
> > > >
> > > > My is little but has a pour performance.
> > >
> > > All GTK2 applications are slow over a network connection, this
> > > is not something Lazarus specific.
>
> The odd thing is, years ago I wrote tappytux to replace the original tuxtype
> because tuxtype was much slower over the network due to it's design. Tuxtype
> used SDL with a polling loop. This is fine if you have one copy running locally
> (and a common game design for that reason) but if you have a few copies
> running remotely it causes massive interupt locking of the CPU.
>
> I would suggest running PS and checking where the performance is going.
> Lazarus's event model was much nicer over the network than a loop based poll,
> if you are seeing high usage of INT in the top output, I would suggest
> checking your code - you are probably polling something in a loop rather than
> reacting only to events.
>
> Ciao
> A.J.
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list