16
【Two algorithms?】
【The Transistor Computer ran successfully?】
【Is Pi numerical calculation used to calculate pi?】
【3.14?】
【3.141592653589793238462643383279502884197169399 3751058209749445923078164062862089986280348253421170679 Just Baidu'ed it, you're welcome.】
【Can things like pi also be used to test a computer's processing speed?】
【Thinking of the Pi Song, Princess Miku, your knight has come to report.】
【What on earth is a metric algorithm?】
In the Livestream Room, confusion was widespread, and the vast majority of people wore puzzled expressions regarding these two algorithms.
Han Yuan smiled and said, "We won't say much about Pi numerical calculation."
"The measurement algorithm is actually very simple."
"It mainly involves multiple measurement calculations of several common orders such as constant order, logarithmic order, linear order, linear logarithmic order, quadratic order, and cubic order, thereby determining the processing speed of this computer."
"For example, in the quadratic order, a double loop is used to calculate the number of seconds required for 1, 2, 4, 8, and 16 thousand square times."
"Judgments are made by calculating the time required for data such as one thousand square times, two thousand square times, and four thousand square times."
"After calculating the speed in seconds multiple times to process the data, it can roughly deduce the number of operations per second."
After briefly explaining the basics of the operation count algorithm, Han Yuan turned around and began manipulating the Transistor Computer using the switch buttons and input keys below the LCD screen to start testing the processing speed.
By now, the system still hadn't prompted that the Level 2 task was completed, so presumably, the operation counts needed to be tested and judged by himself.
Han Yuan deduced that when the detected operation results exceeded one million times per second, that should be when the Level 2 task was completed.
Both the measurement algorithm and the Pi value calculation are ways for humans to judge a computer's processing speed.
The principles of both are actually similar in a sense, so it made little difference which one Han Yuan used to test first.
It's just that Pi value calculation can also be used to test the performance of servers and computers, whereas the measurement algorithm, due to its simpler operation rules, is often only used to test processing speed.
This is just like the first thing many supercomputers do after being activated is to calculate the Pi value once first.
For the first test, Han Yuan used the measurement test, because this was indeed simpler.
He tested the seconds required for 1, 2, 4, 8, and 16 thousand square times once each, and then recorded the data on paper.
"1,000 square times -- 0.11200"
"2,000 square times -- 0.32200"
"4,000 square times -- 1.30100"
When the last set of data calculation was completed, in his mind, the system prompt arrived right on schedule.
"Ding, information change detected."
"Ding, information statistics in progress."
"Ding, congratulations to the host for successfully producing a silicon carbide Transistor Computer that can be used for high-speed computing."
"Task Requirements: Successfully develop an electronic computer that can be used for high-speed computing within 365 days and record relevant information (computing speed per second is not less than one million times) (Completed / Current computing speed is 17,245,021 times per second)."
"Task Reward: Carbon-based integrated circuit board preparation information. (Reward has been issued)"
"Ding, information change detected."
"Ding, information detection completed."
"It is detected that the high-speed computer manufacturing requirements have currently been met, and the host can complete the task ahead of schedule at any time."
"Remarks: The early completion allowance is calculated by days, the current Level 2 task has used 252 days, with 113 days remaining."
In his mind, the prompt sound of task completion sounded.
Regarding the information of task completion, Han Yuan was not too surprised, because when the operation result of the first quadratic order came out, he knew he could complete the task.
But when he heard that the current computing speed was seventeen million times per second, Han Yuan was still somewhat surprised.
The numerical value given by the system completely failed to match the numerical value he calculated using measurement operations.
One could even say the gap was huge.
The processing speed he calculated using measurements was only around six million per second, not even a fraction of what the system gave.
This gap was so large that it made Han Yuan somewhat doubt his life.
The only explanation was probably that this system possessed its own set of calculation methods or operational programs.
Moreover, this set of calculation methods or operational programs utilized hardware much more effectively than measurement tests.
This led to a huge discrepancy in the results between the two sides.
Although he was somewhat surprised by the huge discrepancy in calculation results between the two sides, Han Yuan didn't pay too much attention to it.
As long as the task was completed, that was fine.
As for completing the Level 2 task ahead of schedule, since it was calculated based on days ahead of schedule, he didn't need to rush to complete the task immediately.
After all, a whole morning had already passed today, and he just needed to choose to complete the Level 2 task before midnight.
Right now, Han Yuan's interest in the Transistor Computer in front of him was even greater.
The result tested through measurement calculation differed greatly from the result given by the system, so what about the Pi value calculation?
How would the gap be?
Anyway, there was enough time, and he wanted to study and ponder it carefully.
All afternoon, Han Yuan spent his time studying the Transistor Computer he had manufactured.
He had already obtained the test results of the Pi value. Compared to measurement operations, Pi value operations were more complex, had higher requirements for the computer's computing core, and yielded a slightly lower computing speed.
Yet Han Yuan was like a child who had obtained a new toy, unable to put it down as he continuously tested and checked various data.
Even though this thing was manufactured bit by bit with his own hands and couldn't be more familiar, and even though there were more advanced computers at home.
It wasn't until past 6:00 PM that Han Yuan concluded his exploration of the Transistor Computer.
Clearing the cache data on the internal memory, stopping the transfer of the magnetic memory, turning off the monitor, and cutting off the power of the computing core.
After completing a series of safe operations to improve the service life of the Transistor Computer one by one, Han Yuan turned off the air conditioner, locked the doors and windows, faced the lens, and said:
"As of today, this period of the Live Broadcast has passed 252 days."
"And through the efforts of more than eight months, I have also successfully produced a Transistor Computer that can be used for calculations."
"Although its computing speed is only seven million times per second, it already perfectly fits the task prepared before the Live Broadcast."
"So this evening, I must say goodbye to everyone."
"Welcome everyone to watch the next Live Broadcast."
As his voice fell, Han Yuan ended the Live Broadcast.
Leaving countless viewers staring blankly at the pitch-black screen with dumbfounded expressions.
No one expected that this Live Broadcast would end more than a hundred days ahead of schedule.
After the Live Broadcast ended, viewers began to exit successively, but quite a few people still stayed in the dark Livestream Room sending messages, chatting in the right-hand border, and complaining about Han Yuan being so short.
【Goodbye.】
【Holy shit? It's gone just like that????】
【Love me, don't go!】
【There are still more than a hundred days until a full year.】
【Is the anchor so short?】
【Don't be afraid, according to the practice of the previous few Live Broadcasts, three days later will be when the next Live Broadcast opens.】
【Three days later, I will definitely roast this anchor to death; he didn't even say goodbye!!!】
