USB boot and performance counters

D

Dick Dawson

Since the "Basic Performance Counters" component provides data for the
pagefile it has been noted for a long time in this group that even if it is
useless a pagefile must be defined if you want performance counters.
However the USB boot information under the "limitations" section says
pagefile is forbidden. Sounds like Catch 22. If I must do USB boot
(actually I must do it only during FBA) is there a way that I can have
performance counters?

DD
 
A

Andy Allred

Hi Dick, Low level write activity (using atapi I think) aren't yet enabled on usb media marked as removable (this includes hibernate, pagefile, system dumps). That's the 'why' of the issue, out dev team has bugs on these to find an acceptable solution.

To get around this for your perfmon question, if there was some other media on the device like a hard disk you can redirect the pagefile to, that might work. The regkey required to redirect to some other drive letter is documented in a couple of places I think, here's the tips and tricks page discussing it:
http://msdn2.microsoft.com/en-us/embedded/aa731211.aspx

This particular scenario of perfmon while booting from usb dok and redirecting to other media hasn't been tried by me before so please let us know at the blog what you find and we can write up an article about it.

Andy Allred [MS]
Subscribe to the EW Team's blog for tips/tricks, How tos and announcements: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top