Oper
Posts: 1195
|
| Posted: 03/21/2009, 9:34 AM |
|
Anyone have a Publishing IDEA?
so when you fully generate the Code (dont Include the STYLE folders)?
as a solution we are Using 2 Project 1 Project just for the STYLEs.
anyone have a better idea?
(belived or not the Slow Code generation is here when you have too much style)
PS:We dont use STYLE much yet, but one specific aplicaction take like 30-25min to be generated
with STYLES. if we generate without style is just half like 20 Five minute in a 2.8 procesor with SCI drive
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
melvyn
Posts: 333
|
| Posted: 03/22/2009, 6:43 PM |
|
I don't undestand exactly what do you want.
I think you have something very very very wrong...
I'm sure you have more time than me using CCS, so I don't want to argue.
This is my example:
Real Estate project with 40 pages, including lot's of gallerys, all 46 predefined styles plus 12 custom styles (to allow the user to change them with a click) . English+Spanish using CCS Locales. It take less than 2 minute to publish with only 3 styles. Surprisingly it takes less than 2 minutes to generate with all 58 styles. Tested with old Thinkpad Pentium M 1.6ghz + 512 mb ram, right now. Tested in core 2 duo isn't much advantage: less than 1 minute, not much.
Well, are you talking about FTP ? Do you publish over network or over FTP.
I guess you're talking of that. FTP client included in CCS is slow. I've been using a 10mbps connection and CCS doens't use it, I've never seen more than 20kbps upload. Of course, lots of files take lot of time.
My recommendation:
1) Publish to your own machine, nothing over network. and upload yourself with some FTP client.
2) Don't publish entire project. I only do it twice: first publication, and last one. The first time I publish, and after that I only publish which I need, F8 or ALT+F8. And the last one to publish everything.
Quote Oper:
Anyone have a Publishing IDEA?
so when you fully generate the Code (dont Include the STYLE folders)?
as a solution we are Using 2 Project 1 Project just for the STYLEs.
anyone have a better idea?
(belived or not the Slow Code generation is here when you have too much style)
PS:We dont use STYLE much yet, but one specific aplicaction take like 30-25min to be generated
with STYLES. if we generate without style is just half like 20 Five minute in a 2.8 procesor with SCI drive
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |
 |
 |
melvyn
Posts: 333
|
| Posted: 03/22/2009, 6:46 PM |
|
Forgot to mention: around 15 pages have 3 components (search+grid+record), 5 includes with 3 or for components wich are shown depending of arguments, and 7 pages with 10+ components each one (3 of them are very large, with more then 20 components inside).
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |
 |
 |
Oper
Posts: 1195
|
| Posted: 03/22/2009, 7:52 PM |
|
melvyn es Publicando Local
CCS Project has 700 Paginas (Paginas reales)
CCS Project has 90+ Estilos (Peor aun 5 Idiomas)
Eran 1200 (Pero lo dividimos en 2 Proyectos)
we are Spliting now in few project so. ( a pain so)
Look like the copy that CCS do is 1 by 1 (not sure so)
and to get worse Every Style has 5 Language so basicly Every Style is (16 x 6) + oths = 100+ GIF Files so we are talking about of 100 x 90 = 900 GIF copy 1 by 1
but look like the only option is to create a 3th Project just with the Style
and leave the Defualt on the 2 other Project.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
roeya
Posts: 181
|
| Posted: 03/22/2009, 11:45 PM |
|
Check your anti-virus - we have found that when using anti-virus the last stage of copying the files to the final location takes minutes instead of seconds especially when there are many styles (lots of files)
We temporary disable the anti virus resident shield during publishing
_________________
http://www.infoneto.com/ |
 |
 |
melvyn
Posts: 333
|
| Posted: 03/23/2009, 5:14 AM |
|
+1 for roeya
700 pages? that's out of my scope. Anyways, a single calc:
1 second, maybe 2 seconds per page is a thumb rule.
700 pages = 1400 seconds = 23 minutes. That sounds correct. Only in page generation you're doing at least 12 minutes and at most 23 minutes. Generation of style buttons takes time.
As roeya told: Antivirus checks will take more time. you can also exclude the CCS folders and publishing folders from virus scanning.
I don't imagine working with a project with 700 pages, no way! I've reached almost 200 but CCS takes lot of memory. I modularize everything in order to keep a small footprint.
Quote roeya:
Check your anti-virus - we have found that when using anti-virus the last stage of copying the files to the final location takes minutes instead of seconds especially when there are many styles (lots of files)
With out anti-virus we temporary disable the anti virus resident shield during publishing
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |
 |
 |
Oper
Posts: 1195
|
| Posted: 03/23/2009, 5:33 AM |
|
AV disable was already tested
Anyway we are splitting, casue is still Growing
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
joejac
Posts: 242
|
| Posted: 03/24/2009, 6:37 AM |
|
Hello,
If you use M$ Vista it makes things very slow and inefficient. You can not imagine, I installed Sun xVM VirtualBox with 2 different Linux OS VM, inside a Core 2 Duo with Vista, and the Linux OS VM's run faster than the Vista itself 
I have not tried, but I am seriously thinking in doing the following: to buy a 4 cores machine with 8GB RAM and
1.- Install Gentoo Linux with Sun xVM VirtualBox running XP S/P3 or
2.- Install iMagicOS. I contacted then and asked if they can run all my M$ applications, including CCS4. I am waiting they response, they told me they would try.
Best regards
joejac
|
 |
 |
melvyn
Posts: 333
|
| Posted: 03/24/2009, 9:57 AM |
|
Hi joejac.
I'm not pretending to argue, but that's not correct.
I'm linux user since 9 years, so I know this. Also I'm heavy virtual machine user since 2005.
The matter is: VirtualBox doesn't allow you to use more than 1 core. With Intel (or amd) virtualization enabled you get some balanced usage between cores, but never more than 50% of cpu power (in case of core 2 duo) or 25% of cpu power (in case of quad core).
So your apreciation is inherently false. A host OS can access all cpu power. A virtualized OS can only get as much as 1 core power. That's the plain trut.
VMWare, VirtualBox ,VirtualPC, all them have extensions to use all the cores, at most 1 for each machine.
Vista is some slow copying files. That's well known.
If you want peformance use WinXP without service pack or windows 2000. don't install antivirus and don't use the pc to access internet, so you get covered.
Neither CCS is optimized to use more than 1 core. It's a single thread application.
I have CCS installed inside a virtualbox machine which run from my usb. That's my main development CCS box.
P. S.
I'm running 3 virtual box machines in this current PC right now. 
Quote joejac:
Hello,
If you use M$ Vista it makes things very slow and inefficient. You can not imagine, I installed Sun xVM VirtualBox with 2 different Linux OS VM, inside a Core 2 Duo with Vista, and the Linux OS VM's run faster than the Vista itself
I have not tried, but I am seriously thinking in doing the following: to buy a 4 cores machine with 8GB RAM and
1.- Install Gentoo Linux with Sun xVM VirtualBox running XP S/P3 or
2.- Install iMagicOS. I contacted then and asked if they can run all my M$ applications, including CCS4. I am waiting they response, they told me they would try.
Best regards
joejac
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |
 |
 |
joejac
Posts: 242
|
| Posted: 03/24/2009, 4:01 PM |
|
Thanks Melvyn for your observation,
I learn a lot exchanging points of view, without arguing 
What I mentioned was based on an subjective observation, I noticed that some tasks ran faster with the equivalent Linux programs than with the programs of the Host OS, I am not an expert in Virtualization. A set of well though benchmarks would provide the exact figures. Probably Xen is even more suitable, I do not know. http://service.cs.vt.edu/081118-VM-SC08.pdf
And of course the application itself impose restrictions if it do not use all the hardware power.
Quote melvyn:
... A host OS can access all cpu power. A virtualized OS can only get as much as 1 core power. That's the plain trut.
VMWare, VirtualBox ,VirtualPC, all them have extensions to use all the cores, at most 1 for each machine.
Vista is some slow copying files. That's well known.
If you want peformance use WinXP without service pack or windows 2000. don't install antivirus and don't use the pc to access internet, so you get covered.
Neither CCS is optimized to use more than 1 core. It's a single thread application.
I have CCS installed inside a virtualbox machine which run from my usb. That's my main development CCS box. ....
Probably, and based on your observation, I wonder if could be better to try to run CCS directly on a PC with Linux as the host OS without VM, if possible, point 2 of my previous post?. Of course this can be discussed, because emulating Windows can slow performance also.
By the way, Why you run a VM from the USB? As far as I know USB is slow compared with SATA/SATAII. http://www.tomshardware.com/forum/174836-32-sata-transfer-rate
For those that need to use VM might find this link of interest. http://www.tomshardware.com/forum/241892-28-virtual-platform
Best regards
joejac
|
 |
 |
melvyn
Posts: 333
|
| Posted: 03/24/2009, 4:20 PM |
|
Well, something I didn't mention: Emulation is not virtualization. Meanwhile you can emule something you don't get the real world experience that you can get virtualizing.
Quote :
By the way, Why you run a VM from the USB? As far as I know USB is slow compared with SATA/SATAII.
Good point.
My main development box is a notebook (ThinkPad T60p with Core 2 Duo T7400 @2.16ghz, 4gb ram, 100gb SATA hard drive @7200rpm).
Yes, you're right, SATA is faster than USB. I can't add another disk to this machine because a laptop.
It's always recommended to store the virtual hard drive in another hard (physical) drive than the OS physical disk. I get heavy disk usage if using in the internal disk.
The USB hard drive is pretty fast (Is a SATA Western Digital inside an USB enclosure), I guess it can be faster than most laptop's drives.
Anyways, because I'm plenty of ram, after loaded the machine I run with very low disk access, only when publishing I see the blinking light.
And most: I can disconnect the hard drive, and connect elsewhere my working (virtual) machine with my working projects and everything
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |
 |
 |
|