+ Rispondi alla Discussione
Risultati da 1 a 4 di 4
  1. #1
    wxyz
    ospite

    Predefinito win xp 32 bit e allocazione della memoria... (ovvero: se prendessi 3gb come potrei sfruttarli?)

    ciao

    sono un pò confuso per quanto riguarda le possibilità di gestione della memoria di win xp 32 bit

    da quel che so, i default i 4gb indirizzabili sono divisi obbligatoriamente in 2 per tutto ciò che gira in kernel mode e 2 per il resto (i programmi degli utenti, i servizi...)

    ora, in questo momento ho un giga, e stavo pensando a fare la pazzia di occupare tutti gli slot con un paio di altre memorie da un giga ciascuna (speriamo bene per il dual channel)...


    quindi, se lo facessi, avrei 3 giga.

    immagino che la ripartizione in quel caso sarebbe limitatoasuperiormente a 2gb per i processi e quindi ben un giga per il kernel

    so che ci sono un paio di switch, /3gb per windows 2000 e /4gt per 2003 (che non credo ci siano anche per xp) che comunque agiscono sullo spazio indirizzabile dei processi e credo non sul limite complessivo

    esiste infine /pae (2003?) che aumenta molto lo spazio indirizzabile dai singoli processi solo se supportano l'api, e comunque non so se agisca anche sull'allocazione 2-2 complessiva.


    insomma, esiste un modo per convincere xp a mettere a disposizione almeno una fetta del giga che "crescerebbe" ai processi?

    ...grazie mille



  2. #2
    Shogun Assoluto L'avatar di Sticky©
    Data Registrazione
    09-08-04
    Località
    Roma
    Messaggi
    36,491

    Predefinito Re: win xp 32 bit e allocazione della memoria... (ovvero: se prendessi 3gb come potrei sfruttarli?)

    Penso tu abbia gia' letto questo:

    "TechNET"
    The largest driver PAE compatibility issue involves direct memory access (DMA) transfers and map register allocation. Many devices that support DMA, usually 32-bit adapters, are not capable of performing 64-bit physical addressing. When run in 32-bit mode, the device can address all physical address space. In PAE mode, it is possible that data would be present at a physical address greater than 4 GB. To allow devices with these constraints to function in this scenario, The Windows 2000 Server family and later provide double-buffering for the DMA transaction by providing a 32-bit address that is indicated by a map register. The device can perform the DMA transaction to the 32-bit address and the kernel copies the memory to the 64-bit address that is provided to the driver.

    When the system runs with PAE disabled, drivers for 32-bit devices never require their map registers to be backed by real memory. This means that double-buffering is not necessary, since all devices and drivers are contained within the 32-bit address space. Based on testing of drivers for 32-bit devices on 64-bit processor–based computers, it is expected that most client-tested, DMA-capable drivers expect unlimited map registers.

    To constrain compatibility issues, Windows XP Service Pack 2 includes hardware abstraction layer (HAL) changes that mimic the 32-bit HAL DMA behavior. The altered HAL grants unlimited map registers when the system is running in PAE mode. In addition, the kernel memory manager ignores any physical address above 4 GB. Any system RAM beyond the 4 GB barrier would be made unaddressable by Windows and be unusable in the system. By limiting the address space to 4 GB, devices with 32-bit DMA bus master capability will not see a transaction with an address above the 4 GB barrier. Because these changes remove the need to double-buffer the transactions, they avoid a class of bugs in some drivers related to proper implementation of double buffering support.

    As a result of these changes to the HAL and memory manager, the impact to device driver compatibility is expected to be minimal on systems running Windows XP Service Pack 2 with data execution prevention enabled.

  3. #3
    wxyz
    ospite

    Predefinito Re: win xp 32 bit e allocazione della memoria... (ovvero: se prendessi 3gb come potrei sfruttarli?)

    Nockmaar ha scritto sab, 08 aprile 2006 alle 15:07
    Penso tu abbia gia' letto questo:
    no, quindi piango solo ora

  4. #4
    Shogun Assoluto L'avatar di Sticky©
    Data Registrazione
    09-08-04
    Località
    Roma
    Messaggi
    36,491

    Predefinito Re: win xp 32 bit e allocazione della memoria... (ovvero: se prendessi 3gb come potrei sfruttarli?)

    wxyz ha scritto sab, 08 aprile 2006 alle 22:49
    Nockmaar ha scritto sab, 08 aprile 2006 alle 15:07
    Penso tu abbia gia' letto questo:
    no, quindi piango solo ora


    Putroppo non si puo' smanazzare a fondo in kernel mode, come in *nix e derivati.


+ Rispondi alla Discussione

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  • Il codice BB è Attivato
  • Le faccine sono Attivato
  • Il codice [IMG] è Attivato
  • Il codice HTML è Disattivato