Dear All:


The symptom I observed is that the performance of FTP server
upload/download. The platform builder version is 4.2.
And the processor is Intel DBPXA255(ARM).

I did some tests:
;----------------------------------------------------------------
A file (larger than 7MB).

if I set IMGFLASH=1 (from platform setting){
if I upload a file to \temp (object store){
the ftp server RX is about 900 KBytes/sec;
the ftp server RX is about 1500 KBytes/sec;
}

if I upload a file to \RAMDisk (Ramdisk){
the ftp server RX is about 900 KBytes/sec;
the ftp server RX is about 1500 KBytes/sec;
}
} else if I do not set IMGFLASH=1 {
if I upload a file to \temp (object store){
the ftp server RX is about 300 KBytes/sec;
the ftp server RX is about 500 KBytes/sec;
}
if I upload a file to \RAMDisk (Ramdisk){
the ftp server RX is about 300 KBytes/sec;
the ftp server RX is about 500 KBytes/sec;
}
}
;----------------------------------------------------------------
The config.bib likes below:
;----------------------------------------------------------------
; Name|Virtual/Cached |Size| Region Type
MEMORY
IF IMGFLASH !

NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB: [800B 8000 -> 820B
7FFF]
RAM 820B8000 01C00000 RAM ; SDRAM 28MB: [820B 8000 -> 83CB 7FFF]
EDBG 87F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client memory
pools of 24K (128K)

ENDIF


IF IMGFLASH
IF BUILD_ROM_BIN ; 31.5MB
NK 98380000 01F80000 RAMIMAGE ; FLASH 32MB - 0x80000: Locate above EBOT
image and configuration block
ENDIF
IF BUILD_ROM_NB0 ; 32MB
NK 98300000 01E00000 RAMIMAGE ; FLASH 32MB - Replace EBOOT Image
ENDIF
RAM 820B8000 07C00000 RAM
ENDIF

AUD_DMA 87CB8000 0000A000 RESERVED
SLEEP_SAV 87CC2000 00001000 RESERVED
DRV_GLB 87CC3000 00001000 RESERVED
CACHE_FLG 87CC4000 0003C000 RESERVED ; for use by cache routines:
83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for miniD
DISPLAY 87D00000 00130000 RESERVED ; 1MB aligned
BLOCK_BUF 87E30000 00080000 RESERVED
UNUSED_BUF 87EB0000 000DD000 RESERVED

whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
(6KB).

ZBANK 8A000000 00100000 RESERVED


CONFIG

;@CESYSGEN IF !NK_NKNOCOMP
COMPRESSION=ON
;@CESYSGEN ENDIF !NK_NKNOCOMP
;@CESYSGEN IF NK_NKNOCOMP
COMPRESSION=OFF
;@CESYSGEN ENDIF NK_NKNOCOMP

KERNELFIXUPS=ON
ROMFLAGS=0

IF IMGTRUSTROMONLY
IF IMGNOTALLKMODE
ROMFLAGS=12
ENDIF
IF IMGNOTALLKMODE !
ROMFLAGS=10
ENDIF
ENDIF

IF IMGTRUSTROMONLY !
IF IMGNOTALLKMODE
ROMFLAGS=3
ENDIF
IF IMGNOTALLKMODE !
ROMFLAGS=1
ENDIF
ENDIF

IF IMGFLASH !
AUTOSIZE=ON
ENDIF

IF IMGFLASH !
ROMSTART=800B8000
ROMWIDTH=32
ENDIF

FSRAMPERCENT=0x21212121

IF IMGFLASH
ROMSTART=98300000
ROMWIDTH=32
ENDIF

ROMSIZE=01E00000 ;30MB
;----------------------------------------------------------------
And the features I used associated are:
;----------------------------------------------------------------
-File Systems and Dada Store
+Compresssion
+Hive-Based Registry
+RAM and ROM File System
+Storage Manager

And I add Intel strata flash with IPSM3.7 for flash rom storage.
Could anyone have any idea about the performance difference?

Best regards,
mjwang

Re: Problem with IMGFLASH option of platform by ikki

ikki
Tue May 04 01:17:26 CDT 2004

Dear All:

Sorry for mis-typing, I modified the orginal post again.



The symptom I observed is that the performance of FTP server
upload/download. The platform builder version is 4.2.
And the processor is Intel DBPXA255(ARM).

I did some tests:
;----------------------------------------------------------------
A file (larger than 7MB).

if I set IMGFLASH=1 (from platform setting){
if I upload a file to \temp (object store){
the WinCE ftp server RX is about 300 KBytes/sec;
}
if I download a file to \temp (object store){
the WinCE ftp server TX is about 500 KBytes/sec;
}
if I upload a file to \RAMDisk (Ramdisk){
the WinCE ftp server RX is about 300 KBytes/sec;
}
if I download a file to \RAMDisk (Ramdisk){
the WinCE ftp server TX is about 500 KBytes/sec;
}

} else if I do not set IMGFLASH=1 {
if I upload a file to \temp (object store){
the WinCE ftp server RX is about 900 KBytes/sec;
}
if I download a file to \temp (object store){
the WinCE ftp server TX is about 1500 KBytes/sec;
}

if I upload a file to \RAMDisk (Ramdisk){
the WinCE ftp server RX is about 900 KBytes/sec;
}
if I download a file to \RAMDisk (Ramdisk){
the WinCE ftp server TX is about 1500 KBytes/sec;
}
}
;----------------------------------------------------------------
The config.bib likes below:
;----------------------------------------------------------------
; Name|Virtual/Cached |Size| Region Type
MEMORY
IF IMGFLASH !

NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB: [800B 8000 -> 820B
7FFF]
RAM 820B8000 01C00000 RAM ; SDRAM 28MB: [820B 8000 -> 83CB
7FFF]
EDBG 87F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client memory
pools of 24K (128K)

ENDIF


IF IMGFLASH
IF BUILD_ROM_BIN ; 31.5MB
NK 98380000 01F80000 RAMIMAGE ; FLASH 32MB - 0x80000: Locate above EBOT
image and configuration block
ENDIF
IF BUILD_ROM_NB0 ; 32MB
NK 98300000 01E00000 RAMIMAGE ; FLASH 32MB - Replace EBOOT Image
ENDIF
RAM 820B8000 07C00000 RAM
ENDIF

AUD_DMA 87CB8000 0000A000 RESERVED
SLEEP_SAV 87CC2000 00001000 RESERVED
DRV_GLB 87CC3000 00001000 RESERVED
CACHE_FLG 87CC4000 0003C000 RESERVED ; for use by cache routines:
83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for miniD
DISPLAY 87D00000 00130000 RESERVED ; 1MB aligned
BLOCK_BUF 87E30000 00080000 RESERVED
UNUSED_BUF 87EB0000 000DD000 RESERVED

whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
(6KB).

ZBANK 8A000000 00100000 RESERVED


CONFIG

;@CESYSGEN IF !NK_NKNOCOMP
COMPRESSION=ON
;@CESYSGEN ENDIF !NK_NKNOCOMP
;@CESYSGEN IF NK_NKNOCOMP
COMPRESSION=OFF
;@CESYSGEN ENDIF NK_NKNOCOMP

KERNELFIXUPS=ON
ROMFLAGS=0

IF IMGTRUSTROMONLY
IF IMGNOTALLKMODE
ROMFLAGS=12
ENDIF
IF IMGNOTALLKMODE !
ROMFLAGS=10
ENDIF
ENDIF

IF IMGTRUSTROMONLY !
IF IMGNOTALLKMODE
ROMFLAGS=3
ENDIF
IF IMGNOTALLKMODE !
ROMFLAGS=1
ENDIF
ENDIF

IF IMGFLASH !
AUTOSIZE=ON
ENDIF

IF IMGFLASH !
ROMSTART=800B8000
ROMWIDTH=32
ENDIF

FSRAMPERCENT=0x21212121

IF IMGFLASH
ROMSTART=98300000
ROMWIDTH=32
ENDIF

ROMSIZE=01E00000 ;30MB
;----------------------------------------------------------------
And the features I used associated are:
;----------------------------------------------------------------
-File Systems and Dada Store
+Compresssion
+Hive-Based Registry
+RAM and ROM File System
+Storage Manager

And I add Intel strata flash with IPSM3.7 for flash rom storage.
Could anyone have any idea about the performance difference?

Best regards,
mjwang





Re: Problem with IMGFLASH option of platform by Dean

Dean
Tue May 04 07:42:55 CDT 2004

It's always slower to execute from flash than from SDRAM. Accesses to SDRAM
memory are much faster than flash. You might look at your flash timings to
ensure that they are as optimized as possible. If you have burst or
synchronous flash, be sure to make use of those options.

--
Dean Ramsier - eMVP
Accelent Systems
http://www.accelent.com


"ikki" <ikki.bbs@cis.nctu.edu.tw> wrote in message
news:OqdbM%23ZMEHA.1388@TK2MSFTNGP09.phx.gbl...
> Dear All:
>
> Sorry for mis-typing, I modified the orginal post again.
>
>
>
> The symptom I observed is that the performance of FTP server
> upload/download. The platform builder version is 4.2.
> And the processor is Intel DBPXA255(ARM).
>
> I did some tests:
> ;----------------------------------------------------------------
> A file (larger than 7MB).
>
> if I set IMGFLASH=1 (from platform setting){
> if I upload a file to \temp (object store){
> the WinCE ftp server RX is about 300 KBytes/sec;
> }
> if I download a file to \temp (object store){
> the WinCE ftp server TX is about 500 KBytes/sec;
> }
> if I upload a file to \RAMDisk (Ramdisk){
> the WinCE ftp server RX is about 300 KBytes/sec;
> }
> if I download a file to \RAMDisk (Ramdisk){
> the WinCE ftp server TX is about 500 KBytes/sec;
> }
>
> } else if I do not set IMGFLASH=1 {
> if I upload a file to \temp (object store){
> the WinCE ftp server RX is about 900 KBytes/sec;
> }
> if I download a file to \temp (object store){
> the WinCE ftp server TX is about 1500 KBytes/sec;
> }
>
> if I upload a file to \RAMDisk (Ramdisk){
> the WinCE ftp server RX is about 900 KBytes/sec;
> }
> if I download a file to \RAMDisk (Ramdisk){
> the WinCE ftp server TX is about 1500 KBytes/sec;
> }
> }
> ;----------------------------------------------------------------
> The config.bib likes below:
> ;----------------------------------------------------------------
> ; Name|Virtual/Cached |Size| Region Type
> MEMORY
> IF IMGFLASH !
>
> NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB: [800B 8000 -> 820B
> 7FFF]
> RAM 820B8000 01C00000 RAM ; SDRAM 28MB: [820B 8000 -> 83CB
> 7FFF]
> EDBG 87F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client
memory
> pools of 24K (128K)
>
> ENDIF
>
>
> IF IMGFLASH
> IF BUILD_ROM_BIN ; 31.5MB
> NK 98380000 01F80000 RAMIMAGE ; FLASH 32MB - 0x80000: Locate above
EBOT
> image and configuration block
> ENDIF
> IF BUILD_ROM_NB0 ; 32MB
> NK 98300000 01E00000 RAMIMAGE ; FLASH 32MB - Replace EBOOT Image
> ENDIF
> RAM 820B8000 07C00000 RAM
> ENDIF
>
> AUD_DMA 87CB8000 0000A000 RESERVED
> SLEEP_SAV 87CC2000 00001000 RESERVED
> DRV_GLB 87CC3000 00001000 RESERVED
> CACHE_FLG 87CC4000 0003C000 RESERVED ; for use by cache routines:
> 83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for
miniD
> DISPLAY 87D00000 00130000 RESERVED ; 1MB aligned
> BLOCK_BUF 87E30000 00080000 RESERVED
> UNUSED_BUF 87EB0000 000DD000 RESERVED
>
> whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
> (6KB).
>
> ZBANK 8A000000 00100000 RESERVED
>
>
> CONFIG
>
> ;@CESYSGEN IF !NK_NKNOCOMP
> COMPRESSION=ON
> ;@CESYSGEN ENDIF !NK_NKNOCOMP
> ;@CESYSGEN IF NK_NKNOCOMP
> COMPRESSION=OFF
> ;@CESYSGEN ENDIF NK_NKNOCOMP
>
> KERNELFIXUPS=ON
> ROMFLAGS=0
>
> IF IMGTRUSTROMONLY
> IF IMGNOTALLKMODE
> ROMFLAGS=12
> ENDIF
> IF IMGNOTALLKMODE !
> ROMFLAGS=10
> ENDIF
> ENDIF
>
> IF IMGTRUSTROMONLY !
> IF IMGNOTALLKMODE
> ROMFLAGS=3
> ENDIF
> IF IMGNOTALLKMODE !
> ROMFLAGS=1
> ENDIF
> ENDIF
>
> IF IMGFLASH !
> AUTOSIZE=ON
> ENDIF
>
> IF IMGFLASH !
> ROMSTART=800B8000
> ROMWIDTH=32
> ENDIF
>
> FSRAMPERCENT=0x21212121
>
> IF IMGFLASH
> ROMSTART=98300000
> ROMWIDTH=32
> ENDIF
>
> ROMSIZE=01E00000 ;30MB
> ;----------------------------------------------------------------
> And the features I used associated are:
> ;----------------------------------------------------------------
> -File Systems and Dada Store
> +Compresssion
> +Hive-Based Registry
> +RAM and ROM File System
> +Storage Manager
>
> And I add Intel strata flash with IPSM3.7 for flash rom storage.
> Could anyone have any idea about the performance difference?
>
> Best regards,
> mjwang
>
>
>
>



Re: Problem with IMGFLASH option of platform by ikki

ikki
Tue May 04 22:26:50 CDT 2004

Dear Sir:

I understand what you mensioned about is the flash/sdram speed problem,
and I know that flash XIP will slower than SDRAM.
But the point I can not understand is that since I built an nk.bin Image for
Flash, after the nk.exe boots, why it can only XIP rather than load the
whole OS image into SDRAM? Surely the IMGFLASH option unchecked will cause
the nk.bin download to the SDRAM directly, and there is no flash memory
issue.
The main question is that how could I make nk.exe know that I want to
load the whole OS image into the SDRAM rather than keep the OS image XIP in
flash?

Furthermore, if I do not use the eboot's "Program RAM image into FLASH"
option to write the RAM image to flash, the performance will be better.
If I use the eboot's "Program RAM image into FLASH" option to download the
RAM image into flash memory, the performance will be worse than the former,
could anyone tell me what's going on with the WinCE OS when loading itself
into the main memory? Is there any option to set about it?
Thank you very much.

Best Regards,
mjwang


"Dean Ramsier" <dramsiernospam@accelentnospam.com> ¼¶¼g©ó¶l¥ó
news:uGU6TVdMEHA.2676@TK2MSFTNGP12.phx.gbl...
> It's always slower to execute from flash than from SDRAM. Accesses to
SDRAM
> memory are much faster than flash. You might look at your flash timings
to
> ensure that they are as optimized as possible. If you have burst or
> synchronous flash, be sure to make use of those options.
>
> --
> Dean Ramsier - eMVP
> Accelent Systems
> http://www.accelent.com
>
>
> "ikki" <ikki.bbs@cis.nctu.edu.tw> wrote in message
> news:OqdbM%23ZMEHA.1388@TK2MSFTNGP09.phx.gbl...
> > Dear All:
> >
> > Sorry for mis-typing, I modified the orginal post again.
> >
> >
> >
> > The symptom I observed is that the performance of FTP server
> > upload/download. The platform builder version is 4.2.
> > And the processor is Intel DBPXA255(ARM).
> >
> > I did some tests:
> > ;----------------------------------------------------------------
> > A file (larger than 7MB).
> >
> > if I set IMGFLASH=1 (from platform setting){
> > if I upload a file to \temp (object store){
> > the WinCE ftp server RX is about 300 KBytes/sec;
> > }
> > if I download a file to \temp (object store){
> > the WinCE ftp server TX is about 500 KBytes/sec;
> > }
> > if I upload a file to \RAMDisk (Ramdisk){
> > the WinCE ftp server RX is about 300 KBytes/sec;
> > }
> > if I download a file to \RAMDisk (Ramdisk){
> > the WinCE ftp server TX is about 500 KBytes/sec;
> > }
> >
> > } else if I do not set IMGFLASH=1 {
> > if I upload a file to \temp (object store){
> > the WinCE ftp server RX is about 900 KBytes/sec;
> > }
> > if I download a file to \temp (object store){
> > the WinCE ftp server TX is about 1500 KBytes/sec;
> > }
> >
> > if I upload a file to \RAMDisk (Ramdisk){
> > the WinCE ftp server RX is about 900 KBytes/sec;
> > }
> > if I download a file to \RAMDisk (Ramdisk){
> > the WinCE ftp server TX is about 1500 KBytes/sec;
> > }
> > }
> > ;----------------------------------------------------------------
> > The config.bib likes below:
> > ;----------------------------------------------------------------
> > ; Name|Virtual/Cached |Size| Region Type
> > MEMORY
> > IF IMGFLASH !
> >
> > NK 800B8000 02000000 RAMIMAGE ; SDRAM 32MB: [800B 8000 ->
820B
> > 7FFF]
> > RAM 820B8000 01C00000 RAM ; SDRAM 28MB: [820B 8000 -> 83CB
> > 7FFF]
> > EDBG 87F8D000 00020000 RESERVED ; x20000 for EBOOT - 3 Client
> memory
> > pools of 24K (128K)
> >
> > ENDIF
> >
> >
> > IF IMGFLASH
> > IF BUILD_ROM_BIN ; 31.5MB
> > NK 98380000 01F80000 RAMIMAGE ; FLASH 32MB - 0x80000: Locate above
> EBOT
> > image and configuration block
> > ENDIF
> > IF BUILD_ROM_NB0 ; 32MB
> > NK 98300000 01E00000 RAMIMAGE ; FLASH 32MB - Replace EBOOT Image
> > ENDIF
> > RAM 820B8000 07C00000 RAM
> > ENDIF
> >
> > AUD_DMA 87CB8000 0000A000 RESERVED
> > SLEEP_SAV 87CC2000 00001000 RESERVED
> > DRV_GLB 87CC3000 00001000 RESERVED
> > CACHE_FLG 87CC4000 0003C000 RESERVED ; for use by cache
routines:
> > 83CC_4000->83CC_4003 used for flagging. 83CC_4004->83CC_4803 rsvd for
> miniD
> > DISPLAY 87D00000 00130000 RESERVED ; 1MB aligned
> > BLOCK_BUF 87E30000 00080000 RESERVED
> > UNUSED_BUF 87EB0000 000DD000 RESERVED
> >
> > whql_sig 00000001 00002000 EXTENSION ; WHQL signature extension
> > (6KB).
> >
> > ZBANK 8A000000 00100000 RESERVED
> >
> >
> > CONFIG
> >
> > ;@CESYSGEN IF !NK_NKNOCOMP
> > COMPRESSION=ON
> > ;@CESYSGEN ENDIF !NK_NKNOCOMP
> > ;@CESYSGEN IF NK_NKNOCOMP
> > COMPRESSION=OFF
> > ;@CESYSGEN ENDIF NK_NKNOCOMP
> >
> > KERNELFIXUPS=ON
> > ROMFLAGS=0
> >
> > IF IMGTRUSTROMONLY
> > IF IMGNOTALLKMODE
> > ROMFLAGS=12
> > ENDIF
> > IF IMGNOTALLKMODE !
> > ROMFLAGS=10
> > ENDIF
> > ENDIF
> >
> > IF IMGTRUSTROMONLY !
> > IF IMGNOTALLKMODE
> > ROMFLAGS=3
> > ENDIF
> > IF IMGNOTALLKMODE !
> > ROMFLAGS=1
> > ENDIF
> > ENDIF
> >
> > IF IMGFLASH !
> > AUTOSIZE=ON
> > ENDIF
> >
> > IF IMGFLASH !
> > ROMSTART=800B8000
> > ROMWIDTH=32
> > ENDIF
> >
> > FSRAMPERCENT=0x21212121
> >
> > IF IMGFLASH
> > ROMSTART=98300000
> > ROMWIDTH=32
> > ENDIF
> >
> > ROMSIZE=01E00000 ;30MB
> > ;----------------------------------------------------------------
> > And the features I used associated are:
> > ;----------------------------------------------------------------
> > -File Systems and Dada Store
> > +Compresssion
> > +Hive-Based Registry
> > +RAM and ROM File System
> > +Storage Manager
> >
> > And I add Intel strata flash with IPSM3.7 for flash rom storage.
> > Could anyone have any idea about the performance difference?
> >
> > Best regards,
> > mjwang
> >
> >
> >
> >
>
>