🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.advocacy
Article #482232

Re: KDE4 kursor

#482232
From: Piotr B. [pb2004]
Date: Mon, 18 Apr 2011 11:20
76 lines
4279 bytes
Andrzej Rosa <bakters@yahoo.com> wrote:
> On 2011-04-17, Piotr B. [pb2004] <p_borkowski@nospamgazeta.pl> wrote:
>> Andrzej Rosa <bakters@yahoo.com> wrote:
>>> Ram też się marnuje.  
>>
>>> Na ten przykład dla firefoksa:
>>> $ pmap 16657 | ack total
>>> total   336252K
>>
>>> $ free -m
>>>             total       used       free     shared    buffers     cached
>>> Mem:           753        475        277          0          7        325
>>> -/+ buffers/cache:        142        611
>>> Swap:          956         15        941
>>
>>> Normalnie cuda...
>>
>> Jakie cuda? Chyba nie uważasz że developerzy Linuksa są głupcami i 
>> niezmienione strony pamięci z plików które są już na dysku będą drugi 
>> raz zapisywać w swapie.

> One są w pamięci, nie na dysku.

Doczytaj o demand paging. One znajdą się w pamięci RAM gdy będą 
potrzebne.

>  Firefox spawnuje ileś tam child
> processes o tej samej zawartości, które są w 100% dzielone, stąd
> rozbieżność.

Mylisz Fxa z Chrome lub IE. Poza tym to jest normalne rozwiązanie w 
każdym systemie. Żaden współczesny system nie duplikuje identycznych 
stron w pamięci.

>>> P.S. - Poczytałem trochę, żeby przypadkowo jakiejś durnoty nie wysłać i
>>> się doczytałem, że Windows nie ma shared libraries.   
>>> http://en.wikipedia.org/wiki/Position_independent_code#Windows_DLLs
>>
>>> Microsoft Windows DLLs are not shared libraries in the Unix sense and do not
>>> use position independent code. This means they cannot have their routines
>>> overridden by previously loaded DLLs and require small tricks for sharing
>>> selected global data. Code has to be relocated after it has been loaded from
>>> disk, making it potentially non-shareable between processes; sharing mostly
>>> occurs on disk.
>>
>> Powyższe jest bzdurą. 

> Och, to przesada.  Zgodzę się na typowy MS. ;-P

Bzdurą jest to zdanie: Code has to be relocated after it has been loaded 
from disk, making it potentially non-shareable between processes. 
Dlaczego pisałem w poprzednim poście.

>> Wirtualny adres pod jakim jest zamapowana 
>> biblioteka dll w przestrzeni adresowej danego procesu nie ma nic 
>> wspólnego ze współdzieleniem pamięci RAM. To system zarządza zawartością 
>> pamięci RAM i niemożliwe jest aby ten sam plik dll był dwukrotnie 
>> zamapowany w pamięci RAM jako wykonywalny.

> Nie rozumiesz.

> http://hackage.haskell.org/trac/ghc/wiki/Commentary/PositionIndependentCode

> Position independent code

> First, let it be said that there is no such thing as
> position-independent code on Windows. The dynamic linker will just
> patiently relocate all dynamic libraries that are not loaded at their
> preferred base address.

> Urocze.  :-)

No i? YPB?

-- 
Piotr Borkowski
Technical Details
Message-ID: <iohdem.898.1@pb2004.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <ino1s9$paq$2@news.net.icm.edu.pl> <4da4e0b5$0$2506$65785112@news.neostrada.pl> <slrniqaku7.uu7.proteus@pl-test.org> <4da58cd2$0$2501$65785112@news.neostrada.pl> <slrniqb3qo.viq.proteus@pl-test.org> <4da5da03$0$2437$65785112@news.neostrada.pl> <slrniqbtq7.27p.proteus@pl-test.org> <4da6f6e7$0$2450$65785112@news.neostrada.pl> <io7155$f2f$2@news.net.icm.edu.pl> <4daaeb97$0$2458$65785112@news.neostrada.pl> <iofk7s.1bo.1@pb2004.pl> <4dac1380$0$2453$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: "Piotr B. [pb2004]" <p_borkowski@nospamgazeta.pl>
Newsgroups: pl.comp.os.advocacy
Subject: Re: KDE4 kursor
Date: Mon, 18 Apr 2011 11:20:02 +0000 (UTC)
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 76
Message-ID: <iohdem.898.1@pb2004.pl>
References: <ino1s9$paq$2@news.net.icm.edu.pl>   <4da4e0b5$0$2506$65785112@news.neostrada.pl> <slrniqaku7.uu7.proteus@pl-test.org> <4da58cd2$0$2501$65785112@news.neostrada.pl> <slrniqb3qo.viq.proteus@pl-test.org> <4da5da03$0$2437$65785112@news.neostrada.pl> <slrniqbtq7.27p.proteus@pl-test.org> <4da6f6e7$0$2450$65785112@news.neostrada.pl> <io7155$f2f$2@news.net.icm.edu.pl> <4daaeb97$0$2458$65785112@news.neostrada.pl> <iofk7s.1bo.1@pb2004.pl> <4dac1380$0$2453$65785112@news.neostrada.pl>
NNTP-Posting-Host: host-89-229-150-141.plock.mm.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1303125602 23716 89.229.150.141 (18 Apr 2011 11:20:02 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Mon, 18 Apr 2011 11:20:02 +0000 (UTC)
X-User: p_borkowski
User-Agent: tin/1.9.5-20091224 ("Lochruan") (UNIX) (Linux/2.6.32-30-generic-pae (i686)) Hamster-Pg/1.25.2.0
X-Face: C\72mB@7o`]]`eB]Dc+=SP2P/`.zTC)&eI)d3eW`Fiunj2tV%U.P@QZ%{@(=d?f9`nfah^@ dZY)7[Lo!_',`tv'g|OV+E:I{j{;z%^{z3Q\7>XxBiZ~1NghO1Ss,FGI:J"]YQKn}cl>n?(<
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit