Visualizzazione post con etichetta tech. Mostra tutti i post
Visualizzazione post con etichetta tech. Mostra tutti i post

martedì 27 maggio 2008

How to overcome the 4,095 MB paging file size limit in Windows

Article ID: 237740 Last Review: October 26, 2007 Revision: 6.7

SUMMARY

When you set the paging file size in Windows, the documentation states that the largest paging file that you can select is 4,095 megabytes (MB). This limit is imposed by the page mapping that we use on x86 processors. These processors cannot handle more pages per page file. This is the limit set per volume; you can actually create paging files this large on one or more drives if you need a larger paging file. If extra drives or volumes are not available, you can create multiple paging files on a single drive by placing them in separate folders.

However, you can create a single page file that is more than 4,095 MB on a Microsoft Windows Server 2003 Service Pack 1 (SP1)-based computer.

Notes To create a larger page file, you must load the Physical Address Extension (PAE) kernel. In Windows

Server 2003, PAE is automatically enabled when the server is using Hot Add Memory devices. Alternatively, you can force the PAE kernel by adding the /PAE switch in the Boot.ini file.
To get a complete memory dump from computers that have 4 GB RAM or more, it is still necessary to use the /MAXMEM switch in the Boot.ini file. One of the page files on the system partition must still be 1 MB larger than the amount of RAM installed in the computer to successfully create a memory dump. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

108393 (http://support.microsoft.com/kb/108393/) The /maxmem switch in the Windows Boot.ini file

MORE INFORMATION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 (http://support.microsoft.com/kb/322756/) How to back up and restore the registry in Windows

Note that reading or writing a paging file of this size can be costly in terms of performance. If you find that you need a paging file of this size, it may be better to add more RAM to the computer. The current algorithm Windows uses to set the default paging file size is:

•If total physical RAM is less than 2 gigabytes (GB), the paging file is set to 1.5 times the amount of RAM or 2 GB, whichever is smaller.

•If total physical RAM is equal to or more than 2 GB, the default size is set to 2 GB.

To create multiple paging files on one volume to overcome the 4,095-MB limit:

1.On the drive or volume you want to hold the paging files, create folders for the number of paging files you want to create on the volume. For example, C:\Pagefile1, C:\Pagefile2, and C:\Pagefile3.

2.Click Start, Click Run, type regedit in the Open box, and then click OK.

3.In the left pane, locate and click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\MemoryManagement

4.Find the Pagingfiles value, and then double-click it to open it.

5.Remove any existing values, and add the following values:

c:\pagefile1\pagefile.sys 3000 4000
c:\pagefile2\pagefile.sys 3000 4000
c:\pagefile3\Pagefile.sys 3000 4000

6.Click OK, and then quit Registry Editor.

7.Restart the computer to cause the changes to take effect.

8.Access the virtual memory settings to check the properties of the paging file. To do this, follow these steps.
Access the virtual memory settings on a Windows 2000-based computer

a. On the desktop, right-click My Computer, and then click Properties.

b. Click the Advanced tab.

c. Click Performance Options.

d. Click Change.

Access the virtual memory settings on a Windows XP-based or a Windows Server 2003-based computer

a. On the desktop, right-click My Computer, and then click Properties.

b. Click the Advanced tab.

c. Under Performance, click Settings.

d. Click the Advanced tab, and then click Change.

In this example, the initial size of the paging files is set to 3000. You could save disk space by setting the initial size of the extra paging files to 0 so that the space is used only if it is needed. The initial size of the paging file is initialized to the minimum size when the computer starts. If the initial size is 3000, that space is reserved on the disk regardless of whether it is being used.
Note To get a complete memory dump from computers that have 4 GB RAM or more, it is still necessary to use the /maxmem switch in the Boot.ini. One of the page files on the system partition must still be 1 MB larger than the amount of RAM installed in the computer to successfully create a memory dump.


APPLIES TO
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional Edition

lunedì 18 febbraio 2008

Tech update

Musica, film, telefonate. Ma anche auto, viaggi in aereo e vacanze
Così si realizza il sogno di vivere senza spendere un euro
Clicco, scarico e non pago
Il sogno online della vita gratis di ERNESTO ASSANTE

CANNES - Clicco, scarico, non pago. Tre semplici atti che hanno portato alla crisi, in pochi anni, un'intera industria, quella discografica, che inesorabilmente ha visto calare le vendite dei cd e crescere il consumo di musica gratis attraverso la rete. Clicco, scarico e non pago. Funziona anche per il cinema, per la tv, per i giornali, per il telefono, per i videogiochi: tutto quello che nel mondo reale ha un valore, che sia un oggetto o un servizio, qualcosa che può essere venduto e comprato, quando arriva in rete e si smaterializza, perde anche il suo valore economico. E tutto diventa gratuito. Si consuma musica, si fanno telefonate, si leggono giornali, si vedono film e programmi televisivi, si gioca e non si paga.

Fino a ieri tutto questo era illegale, era pirateria. Oggi non è più così. I giornali online sono gratuiti, la telefonia via Internet è gratuita, la web tv è gratuita, stanno arrivando anche i primi film pagati interamente dalla pubblicità (il primo è "Voglio la luna", prodotto dal tour operator Hotelplan e da ieri approdato in alcune sale italiane, i biglietti, ovviamente gratuiti si possono prendere soltanto online sul sito del film).

È la tecnologia digitale ad avere liberato questa possibilità. E' l'avvento di Internet e del World Wide Web ad aver reso possibile quanto solo fino a qualche anno fa sembrava assolutamente irrealizzabile. Portare legalmente contenuti gratuiti al pubblico. Offrire legalmente servizi gratuiti. Il primo terreno dove è avvenuta la svolta è quello della musica. Una rivoluzione vera e propria perché, a differenza della vecchia "pirateria" fisica, quella che ancora oggi porta nelle nostre strade milioni di copie di dischi copiati illegalmente e venduti a pochi euro, ha portato in pochissimo tempo milioni di persone a collegarsi alla rete e a condividere la loro musica in un modo che prima, semplicemente, non era possibile. E senza pagare nulla.

Che si tratti di "furto" è evidente, copiare una canzone senza pagare i diritti d'autore significa semplicemente privare i musicisti dei frutti del loro lavoro. Ma ai frequentatori della rete il termine "furto" è sempre sembrato inappropriato. Innanzitutto perché nel "file sharing", nello scambio dei brani online, non c'è un oggetto fisico, non c'è un disco, non c'è qualcosa che materialmente passa da una mano all'altra, da una persona all'altra, nulla viene tolto a nessuno. E poi perché la copia digitale che viene creata, assolutamente identica all'originale, è frutto di un baratto, di uno scambio di brani, di files. Cosa che "moralmente" ha un'apparenza più accettabile.

Per gli "scaricatori" della musica online il loro gesto non è molto diverso da quello che fanno ogni giorno quando ascoltano la musica, gratuitamente, accendendo la radio. Non sono loro i "ladri", insomma, semmai le aziende che gestiscono le reti, che producono i software, quelli che dai milioni di download quotidiani guadagnano traffico sui loro siti e pubblicità da vendere. E' da questa ipotesi che è partita Qtrax per portare, finalmente, nella legalità decine di milioni di persone che in tutto il mondo scaricano musica utilizzando i software di "file sharing" e le reti "peer to peer", annunciando la nascita del primo servizio legale di download musicale gratuito, interamente sostenuto dalla pubblicità.

"La gente non vuole vivere nell'illegalità, la gente vuole la musica gratis", è la disarmante verità che Klepfisz, il boss della Qtrax, ha voluto sottolineare presentando la sua iniziativa. Che, però, ha annunciato troppo in fretta, essendo in realtà ancora priva del via libera definitivo da parte delle major discografiche, come hanno voluto sottolineare ieri sia la Warner, che la Universal che la Emi.

Altri servizi già offrono musica gratuitamente, facendo pagare il conto agli investitori pubblicitari. Come Jamendo, che lavora sulla base delle nuove licenze Creative Commons, come We7, un sito realizzato niente di meno che da una delle grandi star del rock, Peter Gabriel, o il sito italiano Downlovers.it.

Il mondo della rete, comunque, marcia in un'unica direzione, quella dei contenuti gratuiti. E non solo per quello che riguarda la musica. Uno degli alfieri di questa rivoluzione è Janus Friis, un giovanotto di Copenhagen che a soli 31 anni si trova ad essere miliardario e, allo stesso tempo, uno dei principali protagonisti dell'"era gratuita". Friis è l'inventore di KaZaA, uno dei più fortunati software di file sharing al mondo, ed è sempre lui ad aver creato Skype, basato sempre sul "peer to peer" ma destinato, in questo caso, a far telefonare gratuitamente gli utenti della rete. "Internet ha cambiato la mentalità della gente", dice Friis, che ora ha lanciato un nuovo sito, Joost, dove ad essere gratis sono i contenuti video.

Online tutto diventa gratuito. Così oggi attraverso Internet è possibile leggere gratuitamente i giornali di tutto il mondo, dal New York Times a Wall Street Journal, da Le Monde a El Pais, e la diffusione delle testate online cresce ogni giorno di più, assieme al numero delle persone che le legge, come conferma il successo di Repubblica.it. Gratis è anche il software, non solo quello necessario al funzionamento di base del computer ma moltissime applicazioni per ogni tipo di necessità, dalla scrittura al disegno, come si può facilmente scoprire visitando il sito Oper Source Living (osliving. com), e grandi aziende come la Microsoft si sono dovute adeguare, diffondendo gratuitamente Explorer o Windows Media.

E' gratis anche la televisione, quella di YouTube, con il suo gigantesco archivio di immagini di ogni epoca, e quella in diretta, offerta da siti come Coolstreaming, che attraverso il peer to peer consente di vedere sul computer le tv di mezzo mondo, calcio compreso. E ancora: si può telefonare gratis in tutto il pianeta con Skype, si possono vedere film corti e videoclip su siti come iFilm o film interi come su Joox. E si possono utilizzare centinaia di videogiochi, da quelli vecchi che si trovano su siti di "retrogaming" a quelli recenti che sono reperibili sui principali portali internazionali.

Quello del "gratis" è un movimento che è partito dalla rete ma si sta allargando a dismisura. E' sempre il terreno della musica quello dove si sperimentano le soluzioni più innovative, come hanno dimostrato recentemente i Radiohead e i Nine Inch Nails, distribuendo i loro nuovi album attraverso Internet a offerta libera. Ma l'offerta si allarga di giorno in giorno, anche in ambiti finora non toccati dai cambiamenti, e sono molti i gruppi di pressione che operano in questo senso, da quelli del Free Software Movement, a chi lavora nel campo del "copyleft", ovvero del cambiamento delle leggi sul copyright. "E' il diritto d'autore come fino ad oggi lo abbiamo inteso ad essere messo in discussione", ha detto il professor Lawrence Lessig, presentando al MidemNet di Cannes Creative Commons, il movimento da lui sostenuto per modificare i limiti che le norme del copyright impongono e che virtualmente mettono fuori legge milioni di utilizzatori di files audio e video del mondo: "Nessuno vuole essere un pirata - ha sottolineato Lessig - sono le regole che devono cambiare".
(29 gennaio 2008)


ricerca mp3 (esempio di come possa essere semplice scaricare mp3 ...):

giovedì 22 marzo 2007

SP-stack su NW2004s

Applicazione SP-stack su NW2004s
1. al download dello "stack" (service.sap.com/sp-stacks) voluto ricordare di scaricare anche il file di definizione xml dello stack (tasto SAVE AS)
2. copiare tutte le patch e il file di definizione xml dello stack nella EPS/in del sistema
3. settare il timeout dell'SDM opportunamente (v. Note 739190 - Timeout when starting or stopping the J2EE engine). E' possibile usare il file sdm_for_patching.bat (vedere lo script sotto) da [Drive]:\usr\sap\[SID]\[INSTANCE]\SDM\program (su WIN)
4. lanciare la JSPM (/usr/sap/[SID]/[Central instance name]/j2ee/JSPM/go)
5. installare come single support package l'aggiornamento della JSPM (normalmente selezionare l'indicatore No NWDI control)
6. rilanciare la JSPM (v. 4.)
7. installare con l'opzione support package stack (normalmente selezionare l'indicatore No NWDI control)
 
link all'help: Jspm patching
 
Troubleshooting
1.
Nel caso in cui il deploy si arresta con messaggio del tipo "Cannot start OS services, SCS instance and J2EE engine..." e' possibile sia un errore al restart dei servizi SAP dovuto alla password dell'utente SAPservice: andare sui servizi (SAP_xx) modificare la password (inserita durante l'installazione) e eseguire il restart. Da MMC fare restart dell'istanza e riprendere con il resume dalla JSPM.
 
2.
L'applicazione del pacchetto KMC-BC va in errore per un problema sull'indice KMC_AP_IHR: applicare la Note 978042 - KMC upgrade fails on Oracle - DROP INDEX 'KMC_AP_IHR'. La cosa puo' anche essere fatta in modo preventivo
 
3.
In qualche caso e' necessario applicare la Note 701654 - Deployment aborts due to wrong J2EE Engine login information (setting della pwd di Administrator dal Config Tool)
 
Allegato (sdm_for_patching.bat)
REM sdm for patching NW2004s
StopServer
sdm jstartup "mode=standalone"
sdm j2eeenginestartstop "timeoutmillisec=7200000"
sdm jstartup "mode=integrated"
StartServer

venerdì 23 febbraio 2007

TiddlyWiki

TiddlyWiki is a free MicroContent WikiWikiWeb created by JeremyRuston written in HTML, CSS and JavaScript to run on any modern browser without needing any ServerSide logic. It allows anyone to create personal SelfContained hypertext documents that can be posted to a WebServer, sent by email or kept on a USB thumb drive to make a WikiOnAStick. Because it doesn't need to be installed and configured it makes a great GuerillaWiki.

Xclient on Win32

A
download al link: http://www.jcraft.com/weirdx/ (software gratuito basato su Java)
B
installazione
- scompatto nella dir x:\weirdx
- vado su (ad es.) x:\weirdx\weirdx-1.0.32\misc
- da cmd lancio:
java -Dweirdx.displaynum=3 -Dweirdx.jesd=yes -jar weirdx.jar
(deve essere installata la jre)
- sul sistema *nix scrivo:
setenv DISPLAY mio ip address:3.0 xclock
- dovrei visualizzare l'applicazione xclock ...

Nel caso sia installato cygwin e' possibile lanciare un X client come di seguito:
su prompt:
startx
setenv DISPLAY 151.89.3.229:0.0
 
sull'xterm:
xhost +