"Does switching from a task to another sums up to a significant percentage of CPU time slices?"
No, the overhead is typically very small, below or around 1%. It depends on OS, the time slice frequency and the kind of context switch that has to be done. Context switches between threads of a single process are very cheap, switches between processes are much more expensive because the MMU has to be adjusted for the new process. With more cores, the time slice frequency can be reduced to achieve the same amount of "perceived parallelism". E.g. reducing the frequency from 1000Hz to 500Hz cuts the overhead by factor of 2. Reducing the time slicing frequency can speed up CPU bound processes e.g. number-crunching applications. The gain is normally small.
>Or is there some reason that would make having two 1 GHz cores better than one 2 Ghz core? Mainly power consumption (and therefore heat) that increases super-linear with the frequency.
For most single tasks, a single core with higher GHz count is better for finishing it in shorter real world time. There are some optimization problems that profit from a super-linear speed-up with processor count but these are the exception. If there are several processes running on the system at a load > 1 (and full CPU usage, not I/O waiting), an additional core reduces the significant task switching overhead.
I am also on China Netcom (Dealt by Beijing Communication Corporation) CNC in Beijing but in Haidian district. Freebsd.org is blocked here as ist wikipedia and quite some others. With a proxy or VPN in a foreign country there fortunately no problem.
Mixing up "tian" and "tien" has a very low probability for native Chinese. The syllable "tien" does not exist in the pinyin romanization of mandarin Chinese. So blocking out the general public is ensured, which is good enough for "them". Searching terms in English or German also produce also quite a number of "useful" sites that are visible through the great firewall.
Unfortunately this can not be done system independently with an absolute path;-) So this is more to give the idea... Btw. the "spy-script" from there gives them only little more information than you could read from the server-log files (of the server that hosts the page that references the script). Do a wget http://www.google-analytics.com/urchin.js for details...
Try something like this : http://www.norsam.com/hdrosetta.htm/ if your data is worth being kept for a longer time. Be sure to use the version that is readable without electron microscope. Maybe there is a service for etching data into stone... if there isn't, maybe there is a business opportunity;-)
I think your way is the only real solution for programmers. There are lots of opportunities to earn money with and around open source software. But it is much easier to earn the money by bundling it/writing books about/supporting the OSS than with writing the software itself.
"If a splash screen is done properly, there is no reason to hate it as much." If the application is done properly there is no reason to take more than a few milliseconds to load. Most features could be loaded on-demand.
Re:Completely illegal in MA, and hence, at MIT
on
Shocking Clothing
·
· Score: 1
"wave or beam may be directed". From what I read in the article, nothing is directable. The attacker choses to touch it or leave it.
(Did not check the law cited in the parent post. Also IANAL)
Re:Even if SCO shows the code
on
Today's SCO News
·
· Score: 2, Informative
Take a binary release of the date in question and compile the closed source in front of witnesses. The code in question should compile to the same binary. Of course you need a trustworthy source confirming the date of the binary.
Have a look at
CWEB by D.E.Knuth. It shows a way of writing C / C++ / Java code that can really be understood.
Apart from that, the use of syntactically more rigid programming languages like Oberon reduce the chance of obfuscated code in the beginning.
"Does switching from a task to another sums up to a significant percentage of CPU time slices?"
No, the overhead is typically very small, below or around 1%. It depends on OS, the time slice frequency and the kind of context switch that has to be done. Context switches between threads of a single process are very cheap, switches between processes are much more expensive because the MMU has to be adjusted for the new process.
With more cores, the time slice frequency can be reduced to achieve the same amount of "perceived parallelism". E.g. reducing the frequency from 1000Hz to 500Hz cuts the overhead by factor of 2.
Reducing the time slicing frequency can speed up CPU bound processes e.g. number-crunching applications. The gain is normally small.
>Or is there some reason that would make having two 1 GHz cores better than one 2 Ghz core?
Mainly power consumption (and therefore heat) that increases super-linear with the frequency.
For most single tasks, a single core with higher GHz count is better for finishing it in shorter real world time. There are some optimization problems that profit from a super-linear speed-up with processor count but these are the exception.
If there are several processes running on the system at a load > 1 (and full CPU usage, not I/O waiting), an additional core reduces the significant task switching overhead.
I am also on China Netcom (Dealt by Beijing Communication Corporation) CNC in Beijing but in Haidian district. Freebsd.org is blocked here as ist wikipedia and quite some others. With a proxy or VPN in a foreign country there fortunately no problem.
>I'm in the process of starting my 3rd Australian business now
;-)
what happened to the first two ?
Mixing up "tian" and "tien" has a very low probability for native Chinese. The syllable "tien" does not exist in the pinyin romanization of mandarin Chinese. So blocking out the general public is ensured, which is good enough for "them". Searching terms in English or German also produce also quite a number of "useful" sites that are visible through the great firewall.
Unfortunately this can not be done system independently with an absolute path ;-) So this is more to give the idea... Btw. the "spy-script" from there gives them only little more information than you could read from the server-log files (of the server that hosts the page that references the script).
Do a
wget http://www.google-analytics.com/urchin.js
for details...
echo "127.0.0.1 www.google-analytics.com" >> etc/hosts.
Try something like this : http://www.norsam.com/hdrosetta.htm/ if your data is worth being kept for a longer time. Be sure to use the version that is readable without electron microscope. ;-)
Maybe there is a service for etching data into stone... if there isn't, maybe there is a business opportunity
Rarely saw such an insightful comment of an Anonymous Coward.
I think your way is the only real solution for programmers.
There are lots of opportunities to earn money with and around open source software. But it is much easier to earn the money by bundling it/writing books about/supporting the OSS than with writing the software itself.
"If a splash screen is done properly, there is no reason to hate it as much."
If the application is done properly there is no reason to take more than a few milliseconds to load. Most features could be loaded on-demand.
>when do they deserve rights equal to other humans?
i'd say when they can claim it.
no.
yea... how many have relevant infrastructure...
Any reasonable car is more eco-friendly compared to a SUV or Hummer. That's why one should NOT compare to the later.
>We need to start giving real fines and jail time to those who are really responsible
The same should apply for politicians.
yep.
"wave or beam may be directed". From what I read in the article, nothing is directable. The attacker choses to touch it or leave it.
(Did not check the law cited in the parent post. Also IANAL)
Take a binary release of the date in question and compile the closed source in front of witnesses. The code in question should compile to the same binary. Of course you need a trustworthy source confirming the date of the binary.
"They dont have to take my picture everytime i buy a newspaper."
Maybe "BUY a newspaper" makes the difference.
The official reason for this is the translation that takes quite a lot of time.
Have a look at CWEB by D.E.Knuth. It shows a way of writing C / C++ / Java code that can really be understood.
Apart from that, the use of syntactically more rigid programming languages like Oberon reduce the chance of obfuscated code in the beginning.
but it will make it hard to find organic material that is from the same period of time. C14 method does not work on stone.