Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > PSoC Creator 2.1 processor hog?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



PSoC Creator 2.1 processor hog?
Moderator:
JFMD

Post Reply
Follow this topic



PSoC Creator 2.1 processor hog?

SpiderKenny posted on 26 Jul 2012 5:14 AM PST
Top Contributor
83 Forum Posts

 Since installing PSoC Creator 2.1 I have noticed that it is less responsive then previous versions.

The mouse doesn't move about the screen smoothly, keyboard entry is a bit 'glitchy' with a noticeable stutter.

When Creator 2.1 is actually idle - the IDE open, a project loaded, but doing nothing at all it consumes between 4 and 10% of CPU time.  What on earth is Creator doing?

The system I'm running on is usually a fast and responsive machine. It is a Dell Lattitude with 8 GB of ram. It has 8 CPU cores and is normally a very responsive machine.

Anyone else seeing this?




Re: PSoC Creator 2.1 processor hog?

SpiderKenny posted on 26 Jul 2012 05:16 AM PST
Top Contributor
83 Forum Posts

 Some more information that might be relevant...

The project I have open is a 'bootloadable' project using the new 'bootloadable' component.

The component specifies a dependecy on the .hex file from another 'bootloader' project and the PSocCreator process is constnatly reading from this hex file. Surely that is unnecessary and just a process hog?



Re: PSoC Creator 2.1 processor hog?

Bob Marlowe posted on 26 Jul 2012 07:04 AM PST
Top Contributor
1768 Forum Posts

No similar experiences concerning keyboard / mouse / CPU-load. Something must have gone amiss with your installation. I would try to de-install creator, check behaveour (if bad, reset system back to a known, working state) and re-install Creator from download area.

 

Bob



Re: PSoC Creator 2.1 processor hog?

SpiderKenny posted on 26 Jul 2012 07:25 AM PST
Top Contributor
83 Forum Posts

 Thanks Bob,

 

Have you tried a project with the built in bootloadable component?

I did a bit of experimenting and found that if I do a 'clean' the issue goes away until the next time I do a 'build' again.

The PsocCreator.exe process is just constantly reading the .hex file referenced in the bootloadable component from disk over and over again. 

I will try some more experiments.....



Re: PSoC Creator 2.1 processor hog?

LookAtSystemSolutions posted on 26 Jul 2012 10:50 AM PST
Top Contributor
31 Forum Posts

Hi Spiderkenny,

running Creator 2.1 on my laptop with a fraction of your horsepower and it runs just fine, no slow down noticed.

I am not using the bootloadable component but I cannot imagine that this makes a difference with processing needs. Can you check a project that does not include the bootloadable component and see if it is still slower? In case yes, Bob's recommendation to clean up and re-install is probably the most contructive (though painful) option.



Re: PSoC Creator 2.1 processor hog?

SpiderKenny posted on 27 Jul 2012 12:10 AM PST
Top Contributor
83 Forum Posts

 The more I look at this, the more I am convinced it is a bug in the Bootloadable component.

Projects without that component do not exhibit this behaviour.

I ran the SysInternals (microsoft) 'ProcessMonitor' and it shows that the bootloader.hex file is being agressively read from disk over and over again. I imagine this comes from the 'bootloadable' component, but it could be from some internal file cacheing routine or lookahead or  doen other things, I guess.

I have created a small simple test project. It has just a bootloader and a bootloadable and nothing else and it exhibits this behaviour.

Depending on the disk subsystem in your particular PC you may not notice any degrading of behaviour, but with a process or task monitor you should be able to see the continous reads from the file.

I have attached the project :-)



Re: PSoC Creator 2.1 processor hog?

Bob Marlowe posted on 27 Jul 2012 12:40 AM PST
Top Contributor
1768 Forum Posts

I'm not used to bootloadable projects, but when I try to build your submitted project, Creator 2.1 tells me that the .hex and .elf-files are missing which should reside in the same directory as your project does. Is there a path-mismatch or have those files been excluded from workspace generation?

 

Bob



Re: PSoC Creator 2.1 processor hog?

SpiderKenny posted on 27 Jul 2012 02:32 AM PST
Top Contributor
83 Forum Posts

 It is the depedency in the bootloadable project  - it will be in a different path on your machine than on mine.

Some steps to reproduce....

1. Build the 'Bootloader' project and note the path where it stores the HEX file.

2. 'Configure' the bootloadable component in the other project and click on the "dependencies" tab and enter the path to the hex file from 1.

Then build both projects and you should see the effect, if it's not just something in my own setup.

Here's a screen dump of Task Manager showing psoc_creator.exe being the number 1 consumer of "I/O Reads" even when idle.

 

 



Re: PSoC Creator 2.1 processor hog?

srim posted on 27 Jul 2012 04:33 AM PST
Cypress Employee
121 Forum Posts

 

Hi SpiderKenny,

 

I've been using 2.1 Bootloader projects for quite sometime now and I didn't observe noticeble slowness when a BL project is used. My machine config is almost the same as that of your's with a i5 core and 4GB ram and I always see it as slow even when not using creator ;) !!!. I've attached the images of taskmngr with an empty workspace,BL and non-BL projects n I do see a huge variation. Anyways worth investing more!

 

-srim

 

 

 

 



Re: PSoC Creator 2.1 processor hog?

SpiderKenny posted on 29 Jul 2012 02:48 PM PST
Top Contributor
83 Forum Posts

 Hi srim,

Thanks for your input, but I couldn't see the images in your attachment?

Anyway, I'm glad to hear it's not just me being nutty!

 

-Kenny



Re: PSoC Creator 2.1 processor hog?

Bob Marlowe posted on 30 Jul 2012 02:48 AM PST
Top Contributor
1768 Forum Posts

Confirmed!

I built a (your) bootloader project and I could notice the same behaveour.

But

I have a CPU-meter in the sidebar which does NOT show up any excess CPU-usage UNTIL I START the taskmanager. Then both (sidebar and taskmgr) show up 20-25 percent of CPU used up by Creator 2.1

Together with your informations I think you should at least enter the information into the 2.1 feedback thread. Post a link to this (current) thread as well, so Cypress has dot all infos to correct that issue.

 

Bob



Re: PSoC Creator 2.1 processor hog?

Robert-CY posted on 30 Jul 2012 02:18 PM PST
Cypress Employee
129 Forum Posts

Your input has been registered and is under investigation by Cypress engineers.

Thank you for pointing it out and investing time for verification! We really appreciate the cooperation of all the forum members involved in trying out our new features.

Cheers, Robert



Re: PSoC Creator 2.1 processor hog?

Bob Marlowe posted on 30 Jul 2012 02:37 PM PST
Top Contributor
1768 Forum Posts

@Robert

Thanks for your feedback, makes us feel to have done something meaningful.

Bob



Re: PSoC Creator 2.1 processor hog?

Errol posted on 20 Dec 2012 10:05 AM PST
Member
4 Forum Posts

Was there any resolution to this issue?

I have the same problem, with Creator hogging one CPU core on my notebook.

This happenes with or without the Bootloadable component, but is directly related to setting the application type to Bootloadable.

If I set the application type to Bootloadable then there is a spike of 80% CPU usage, then it settles at 25% CPU usage, which is one hyper threading core. Moving the cursor in the source editor is a pain as it moves 4 characters then pauses, then 4 chars, then pauses...

If I set the application type back to Normal then there is again a spike to 80% then it falls to 0% to 1% CPU usage.

This is repeatable.

Thank you,
Errol



Re: PSoC Creator 2.1 processor hog?

Bob Marlowe posted on 20 Dec 2012 12:43 PM PST
Top Contributor
1768 Forum Posts

Probably a minor error like this gets addressed in the next relaese of Creator.

 

Bob



Re: PSoC Creator 2.1 processor hog?

srim posted on 20 Dec 2012 08:52 PM PST
Cypress Employee
121 Forum Posts

Hi Error, 

The issue is already addressed in the upcoming creator release. You have to wait for few more days to update to it.

-srim



Re: PSoC Creator 2.1 processor hog?

Bob Marlowe posted on 21 Dec 2012 02:35 AM PST
Top Contributor
1768 Forum Posts

What I'd said. And, Srim, his name is Errol (like Flynn) not ERROR! (smile)

 

Bob



Re: PSoC Creator 2.1 processor hog?

Errol posted on 21 Dec 2012 05:21 AM PST
Member
4 Forum Posts

It seems to be fixed in SP1 too, which I installed last night...

I wish I could say that it is the first time I've been called "Error", but unfortunately I can't...






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20