I
I
Ilya bow2017-10-14 23:16:17
gulp.js
Ilya bow, 2017-10-14 23:16:17

Am I a fool or is there really no information on the Internet on how turbo boost works on server processors? Or have I misunderstood everything?

Here is like such a current table for xeons?
Or am I wrong about something?
Explain, please.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anita Kovaleva, 2019-07-12
@Anitamsk

Version 4 of gulp introduced parallelization, so add parentheses at the end. And you will be happy.

const gulp = require('gulp');             
const sass = require('gulp-sass');        
const concat = require('gulp-concat')
const autoprefixer = require('gulp-autoprefixer');
const cleanCSS = require('gulp-clean-css');
const browserSync = require('browser-sync').create();
const sourcemaps = require('gulp-sourcemaps');
const gcmq = require('gulp-group-css-media-queries');

const config = {
    src: './src',
    css: {
        watch: '/precss/**/*.sass',                     
        src: '/precss/main.sass',
        dest: '/css'                                        
    },
    html: {
        src: '/*.html'
    }
};

gulp.task('build', function () {
    return gulp.src(config.src + config.css.src)
            .pipe(sourcemaps.init())
            .pipe(sass().on('error', sass.logError))
            .pipe(gcmq())
            .pipe(autoprefixer({    
                overrideBrowserslist:  ['> 0.01%'],
                cascade: false
            }))
            // .pipe(cleanCSS({
            //     level: 2
            // }))
            .pipe(sourcemaps.write('.'))
            .pipe(gulp.dest(config.src + config.css.dest))
            .pipe(browserSync.reload({
                stream: true
            }));
});

gulp.task('watch', function () {
    gulp.watch(config.src + config.css.watch, gulp.parallel('build'));
    gulp.watch(config.src + config.html.src).on('change', browserSync.reload);
});

gulp.task('browserSync', function () {
    browserSync.init({
        server: {
            baseDir: config.src
        }
        // online: true,
        // tunnel: true,
        // logLevel: "debug"
    });
});

gulp.task('dist', function(){
    return gulp.src([
        './src/fonts/**/*.{woff,woff2}',
        './src/img/**',
        './src/js/**',
        './src/*html',
        './src/css/*.css'
    ], {
        base: './src'
    })
    .pipe(gulp.dest('dist'))
});

gulp.task('default', gulp.parallel('watch','browserSync', 'build'));

S
Saboteur, 2017-10-14
@saboteur_kiev

Overclock server processors?
The main task of servers is stability. If you want speed, buy a processor with a higher nominal frequency. But overclocking a server processor, and even more so waiting for some instructions and overclocking technologies from the manufacturer, is nonsense.
Update: Turbo boost is not the usual overclocking of the processor, but a standard technology from the manufacturer, which allows individual cores to work at an increased, but again, locked frequency for each processor (set by the manufacturer, not configurable).
If you have a motherboard that supports this technology + operating systems and drivers, you can specify which processes will run on the most productive cores, thus increasing performance without much overheating.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question